From bc619ee6e89f501d32f471e31c4f298ffca15697 Mon Sep 17 00:00:00 2001 From: newbie Date: Sat, 25 Nov 2023 23:42:01 +0800 Subject: [PATCH] update --- lua/lsp/bash.lua | 0 lua/lsp/pyright.lua | 2 ++ lua/plugs/nvim-lspconfig.lua | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 lua/lsp/bash.lua create mode 100644 lua/lsp/pyright.lua diff --git a/lua/lsp/bash.lua b/lua/lsp/bash.lua new file mode 100644 index 0000000..e69de29 diff --git a/lua/lsp/pyright.lua b/lua/lsp/pyright.lua new file mode 100644 index 0000000..97aeadd --- /dev/null +++ b/lua/lsp/pyright.lua @@ -0,0 +1,2 @@ +return { +} diff --git a/lua/plugs/nvim-lspconfig.lua b/lua/plugs/nvim-lspconfig.lua index e298939..6c25032 100644 --- a/lua/plugs/nvim-lspconfig.lua +++ b/lua/plugs/nvim-lspconfig.lua @@ -43,7 +43,8 @@ return { config = function () require'lspconfig'.lua_ls.setup(require('lsp.lua')) require'lspconfig'.clangd.setup(require('lsp.c')) - require'lspconfig'.bash_ls.setup() + require'lspconfig'.bash_ls.setup(require('lsp.bash')) + require'lspconfig'.pyright.setup(require('lsp.pyright')) end }, {