diff --git a/vimrc b/vimrc index 6ba3618..a4a227a 100644 --- a/vimrc +++ b/vimrc @@ -122,6 +122,7 @@ endif Plug 'neovim/nvim-lspconfig' Plug 'folke/lua-dev.nvim' +Plug 'simrat39/rust-tools.nvim' endif @@ -146,6 +147,8 @@ se inccommand=nosplit set mouse= set title +se scl=yes:1 " say no to wobbly side column + let mapleader=" " let g:jellybeans_overrides = { @@ -268,6 +271,10 @@ local luadev = require("lua-dev").setup({ local lspconfig = require('lspconfig') lspconfig.sumneko_lua.setup(luadev) lspconfig.ccls.setup{} +lspconfig.pyright.setup{} +lspconfig.tsserver.setup{} + +require('rust-tools').setup{} EOF @@ -278,6 +285,8 @@ hi LspDiagnosticsDefaultError cterm=bold ctermfg=Red hi LspDiagnosticsDefaultWarning cterm=bold ctermfg=Yellow hi LspDiagnosticsDefaultInformation ctermfg=Blue +au syntax leaninfo setl scl=no + inoremap compe#complete() inoremap compe#confirm('') inoremap compe#close('')