From b4f7396aa4e15307f0e25e78a9f399147dea73e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 31 Aug 2022 20:14:08 +0300 Subject: Change JS lang server to quick-lint-js --- dotfiles/.config/nvim/init.vim | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index e8f2dbc..4007653 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -62,13 +62,13 @@ call plug#end() map :call ChangeBG() " Set screen title - let &titlestring = "vim - " . expand("%:t") - if &term == "screen" - set t_ts=^[k - set t_fs=^[\ - endif set title - au BufEnter * let &titlestring = "vim - " . expand("%t") + " let &titlestring = "NVIM - " . expand("%:t") + " if &term == "screen" + " set t_ts=^[k + " set t_fs=^[\ + " endif + " au BufEnter * let &titlestring = "NVIM - " . expand("%t") " Functions for git branch name on statusline function! GitBranch() @@ -227,7 +227,7 @@ call plug#end() lua require('lspconfig').gopls.setup{} lua require('lspconfig').pylsp.setup{} lua require('lspconfig').rls.setup{} - lua require('lspconfig').tsserver.setup{} + lua require('lspconfig').quick_lint_js.setup{} endif " LSP keybinds -- cgit v1.2.3