document possible custom lsp_attach function with navigator

main
spike 2 years ago
parent 76297c45ad
commit 53491817ea

@ -148,6 +148,7 @@ local config = {
-- disable auto start of lsp per language
-- set global default on lspconfig (see lspconfig doc)
gopls = {
-- on_attach = require("sp4ke.lsp").custom_attach,
settings = {
gopls = {
hints = {

@ -11,4 +11,9 @@ M.toggle_diagnostics = function ()
M.shown = true
end
-- my customized attach
-- M.custom_attach = function(client, bufnr)
-- end
return M

Loading…
Cancel
Save