diff options
| author | Thomas Schmucker <ts@its1.de> | 2025-03-13 13:33:53 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2025-03-13 13:33:53 +0100 |
| commit | c8dcb5b2bc1615cc90f84cf6d0fd0a8473ec75bd (patch) | |
| tree | dd16ea7cdf0bb3dc10602c1c3abd16a3909380d4 | |
| parent | e18af7381c4838670159ac9c630817dc6e298c60 (diff) | |
| download | dotfiles-c8dcb5b2bc1615cc90f84cf6d0fd0a8473ec75bd.tar.gz dotfiles-c8dcb5b2bc1615cc90f84cf6d0fd0a8473ec75bd.tar.bz2 dotfiles-c8dcb5b2bc1615cc90f84cf6d0fd0a8473ec75bd.zip | |
go support für neovim
| -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 | ||
