We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43c2d9c commit 3176719Copy full SHA for 3176719
lua/null-ls/lspconfig.lua
@@ -20,11 +20,11 @@ function M.setup()
20
default_config = config_def,
21
}
22
23
- -- listen on BufReadPost and attach if needed
+ -- listen on FileType and attach if needed
24
vim.cmd([[
25
augroup null-ls
26
autocmd!
27
- autocmd BufReadPost,FileType * unsilent lua require("null-ls.lspconfig").try_add()
+ autocmd FileType * unsilent lua require("null-ls.lspconfig").try_add()
28
augroup end
29
]])
30
end
0 commit comments