From e4cea56abf4206168de5b08d916ca6e2f9447ec4 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Mon, 24 May 2021 15:06:55 +0200 Subject: [PATCH] vim: more lsp --- vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) 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('')