diff --git a/lua/plugs/nvim-lspconfig.lua b/lua/plugs/nvim-lspconfig.lua index 315fe12..38ecbbf 100644 --- a/lua/plugs/nvim-lspconfig.lua +++ b/lua/plugs/nvim-lspconfig.lua @@ -238,13 +238,13 @@ return { config = function() local treesitter_opt = { ensure_installed = { - "c", - "cpp", - "python", - "java", - "lua", - "bash", - "vimdoc", + -- "c", + -- "cpp", + -- "python", + -- "java", + -- "lua", + -- "bash", + -- "vimdoc", }, indent = { enable = true }, ignore_install = { diff --git a/snippets/go.json b/snippets/go.json index 9b35bff..36d096c 100644 --- a/snippets/go.json +++ b/snippets/go.json @@ -10,5 +10,13 @@ " $1", "}" ] + }, + "init": { + "prefix": "init", + "body": [ + "func init() {", + " $1", + "}" + ] } }