call plug#begin() Plug 'dylnmc/synstack.vim' Plug 'folke/trouble.nvim' Plug 'google/vim-codefmt' Plug 'google/vim-glaive' Plug 'google/vim-maktaba' Plug 'hrsh7th/cmp-buffer' Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/cmp-nvim-lua' Plug 'hrsh7th/cmp-path' Plug 'hrsh7th/cmp-vsnip' Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/vim-vsnip' Plug 'kyazdani42/nvim-web-devicons' Plug 'neovim/nvim-lspconfig' Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} Plug 'onsails/lspkind.nvim' Plug 'git://git.josher.dev/spectral.vim.git' Plug 'git://git.josher.dev/fieldmarshal.vim.git' Plug 'git://git.josher.dev/rneovim-userregs.git' Plug 'git://git.josher.dev/config.vim.git' call plug#end() set termguicolors set shiftwidth=2 set tabstop=2 set expandtab set nowrap set splitright set wildmode=longest,list,full colorscheme spectral let mapleader=" " noremap % v noremap " s augroup InitVim au! autocmd BufRead *.java,*.c,*.cpp,*.cxx TSBufEnable highlight augroup END noremap รบ FormatCode noremap p (SynStack) lua << EOF -- CiderLSP vim.opt.completeopt = { "menu", "menuone", "noselect" } require("lsp") require("lspconfig") -- Diagnostics require("diagnostics") EOF