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