go.sum file type

pull/119/head
ray-x 2 years ago
parent 7ee9bbd870
commit edd8240d7f

@ -0,0 +1 @@
autocmd BufRead,BufNewFile *.sum set filetype=gosum

@ -170,7 +170,7 @@ local setups = {
},
},
},
filetypes = { "go", "gomod", "gohtmltmpl", "gotexttmpl" },
filetypes = { "go", "gomod", "gosum", "gotmpl", "gohtmltmpl", "gotexttmpl" },
message_level = vim.lsp.protocol.MessageType.Error,
cmd = {
"gopls", -- share the gopls instance if there is one already

Loading…
Cancel
Save