From e6fed655e18343e6e399e8198346466effe8c3a8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 18 Mar 2021 22:19:57 +0100 Subject: Fix nvim lua scripts --- .config/nvim/lua/_lsp/python-ls.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/_lsp/python-ls.lua') diff --git a/.config/nvim/lua/_lsp/python-ls.lua b/.config/nvim/lua/_lsp/python-ls.lua index 11eeef9..d07f59b 100644 --- a/.config/nvim/lua/_lsp/python-ls.lua +++ b/.config/nvim/lua/_lsp/python-ls.lua @@ -1,2 +1,4 @@ -- npm i -g pyright -require'lspconfig'.pyright.setup{} +require'lspconfig'.pyright.setup{ + on_attach = require'_lsp'.common_on_attach, +} -- cgit v1.2.3-70-g09d2