on_attach for lua lsp
This commit is contained in:
parent
5fad30d9af
commit
18a82b51aa
@ -48,6 +48,8 @@ require('mason-lspconfig').setup_handlers{
|
||||
end,
|
||||
['sumneko_lua'] = function()
|
||||
require('lspconfig')["sumneko_lua"].setup {
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
settings = {
|
||||
Lua = {
|
||||
diagnostics = {
|
||||
|
Loading…
Reference in New Issue
Block a user