diff options
| author | Thomas Schmucker <ts@its1.de> | 2025-02-23 14:29:38 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2025-02-23 14:29:38 +0100 |
| commit | 20bc3427957e256cf56616f5c0badd5a77001c74 (patch) | |
| tree | c1bf960f05e80671fb5a4c6bc626201f7e69648d /nvim | |
| parent | 87dc501832e5fb00dc47128d721116f8aa68dcf4 (diff) | |
| download | dotfiles-20bc3427957e256cf56616f5c0badd5a77001c74.tar.gz dotfiles-20bc3427957e256cf56616f5c0badd5a77001c74.tar.bz2 dotfiles-20bc3427957e256cf56616f5c0badd5a77001c74.zip | |
neovim: support für Angular-LS hinzugefügt
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/plugins.vim | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nvim/plugins.vim b/nvim/plugins.vim index b1dfe3a..23e494a 100644 --- a/nvim/plugins.vim +++ b/nvim/plugins.vim | |||
| @@ -64,7 +64,7 @@ require("nvim-tree").setup({ | |||
| 64 | sorter = "case_sensitive", | 64 | sorter = "case_sensitive", |
| 65 | }, | 65 | }, |
| 66 | view = { | 66 | view = { |
| 67 | width = 30, | 67 | adaptive_size = true, |
| 68 | }, | 68 | }, |
| 69 | renderer = { | 69 | renderer = { |
| 70 | group_empty = true, | 70 | group_empty = true, |
| @@ -140,8 +140,15 @@ lspconfig.jsonls.setup{ | |||
| 140 | capabilities = capabilities | 140 | capabilities = capabilities |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | local project_library_path = "/home/t/.local/lib/node_modules" | ||
| 144 | local ng_cmd = {"ngserver", "--stdio", "--tsProbeLocations", project_library_path , "--ngProbeLocations", project_library_path} | ||
| 145 | |||
| 143 | lspconfig.angularls.setup{ | 146 | lspconfig.angularls.setup{ |
| 144 | capabilities = capabilities, | 147 | capabilities = capabilities, |
| 148 | cmd = ng_cmd, | ||
| 149 | on_new_config = function(new_config,new_root_dir) | ||
| 150 | new_config.cmd = ng_cmd | ||
| 151 | end, | ||
| 145 | } | 152 | } |
| 146 | 153 | ||
| 147 | lspconfig.markdown_oxide.setup{ | 154 | lspconfig.markdown_oxide.setup{ |
