diff options
Diffstat (limited to 'nvim/plugins.vim')
| -rw-r--r-- | nvim/plugins.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nvim/plugins.vim b/nvim/plugins.vim index 23e494a..c9a8fd2 100644 --- a/nvim/plugins.vim +++ b/nvim/plugins.vim | |||
| @@ -75,7 +75,7 @@ require("nvim-tree").setup({ | |||
| 75 | }) | 75 | }) |
| 76 | 76 | ||
| 77 | require('nvim-treesitter.configs').setup { | 77 | require('nvim-treesitter.configs').setup { |
| 78 | ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "typescript", "python", "html" }, | 78 | ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "typescript", "python", "html", "go", "gomod", "gosum" }, |
| 79 | sync_install = false, | 79 | sync_install = false, |
| 80 | auto_install = false, | 80 | auto_install = false, |
| 81 | highlight = { | 81 | highlight = { |
| @@ -140,6 +140,10 @@ lspconfig.jsonls.setup{ | |||
| 140 | capabilities = capabilities | 140 | capabilities = capabilities |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | lspconfig.gopls.setup{ | ||
| 144 | capabilities = capabilities | ||
| 145 | } | ||
| 146 | |||
| 143 | local project_library_path = "/home/t/.local/lib/node_modules" | 147 | local project_library_path = "/home/t/.local/lib/node_modules" |
| 144 | local ng_cmd = {"ngserver", "--stdio", "--tsProbeLocations", project_library_path , "--ngProbeLocations", project_library_path} | 148 | local ng_cmd = {"ngserver", "--stdio", "--tsProbeLocations", project_library_path , "--ngProbeLocations", project_library_path} |
| 145 | 149 | ||
