-- How to install -- -- 1. Run `PackerSync` -- 2. Run TSInstall for treesitter grammar -- 3. LspInfo to check if the language servers are working -- Bootstrap packer if not installed local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' if fn.empty(fn.glob(install_path)) > 0 then fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) vim.cmd 'packadd packer.nvim' end -- Install My Stuff require('settings') vim.cmd "nnoremap ps PackerSync" vim.cmd "nnoremap ff Telescope find_files" vim.cmd "nnoremap / Telescope live_grep" vim.cmd "nnoremap fb Telescope buffers" vim.cmd "nnoremap fg lua require('telescope.builtin').git_status()" --[[ vim.cmd "let g:python3_host_prog = expand('~/venv/bin/python3')" vim.cmd "let g:rnvimr_enable_ex = 1" vim.cmd "let g:rnvimr_enable_picker = 1" vim.cmd "nnoremap m :RnvimrToggle" vim.cmd "let g:rnvimr_action = { '': 'NvimEdit tabedit' }" ]]-- --vim.cmd "au BufWritePost lua require('lint').try_lint()" return require('packer').startup(function() use 'wbthomason/packer.nvim' use 'Thornycrackers-Forks/nord-vim' use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate', config = function() require "treesitterconf" end, } use { "neovim/nvim-lspconfig", config = function() require "lspconfigconf" end, } use 'nvim-treesitter/playground' use { 'nvim-telescope/telescope.nvim', requires = { {'nvim-lua/plenary.nvim'} }, config = function() require "telescopeconf" end, } -- use 'kevinhwang91/rnvimr' --[[ use { 'jose-elias-alvarez/null-ls.nvim', config = function() require "nvimlintconf" end, } ]]-- end)