diff options
author | Akshay <[email protected]> | 2020-10-04 10:11:10 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-10-04 10:11:10 +0100 |
commit | 93b9d17c6b2c8f63b1d05205c6ec696d998f904c (patch) | |
tree | 9bbf987a94754646c6ffc4360af86acd3cafbbf3 /nvim/.config/nvim/coc-settings.json | |
parent | 2ea85d463a7be88b18571277c25056037e07e830 (diff) |
migrate to home-manager
Diffstat (limited to 'nvim/.config/nvim/coc-settings.json')
-rw-r--r-- | nvim/.config/nvim/coc-settings.json | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json index f211585..8515224 100644 --- a/nvim/.config/nvim/coc-settings.json +++ b/nvim/.config/nvim/coc-settings.json | |||
@@ -2,7 +2,7 @@ | |||
2 | "suggest.timeout": 500, | 2 | "suggest.timeout": 500, |
3 | "coc.source.vimtex.enable": true, | 3 | "coc.source.vimtex.enable": true, |
4 | "coc.preferences.formatOnSaveFiletypes": [ | 4 | "coc.preferences.formatOnSaveFiletypes": [ |
5 | "dart", | 5 | "rust", |
6 | "python" | 6 | "python" |
7 | ], | 7 | ], |
8 | "coc.preferences.hoverTarget": "preview", | 8 | "coc.preferences.hoverTarget": "preview", |
@@ -13,6 +13,18 @@ | |||
13 | "filetypes": ["sh"], | 13 | "filetypes": ["sh"], |
14 | "ignoredRootPaths": ["~"] | 14 | "ignoredRootPaths": ["~"] |
15 | }, | 15 | }, |
16 | "nix": { | ||
17 | "command": "rnix-lsp", | ||
18 | "filetypes": ["nix"] | ||
19 | }, | ||
20 | "elmLS": { | ||
21 | "command": "elm-language-server", | ||
22 | "filetypes": ["elm"], | ||
23 | "rootPatterns": ["elm.json"], | ||
24 | "initializationOptions": { | ||
25 | "elmAnalyseTrigger": "never" | ||
26 | } | ||
27 | }, | ||
16 | "ccls": { | 28 | "ccls": { |
17 | "command": "ccls", | 29 | "command": "ccls", |
18 | "filetypes": ["c", "cpp", "objc", "objcpp"], | 30 | "filetypes": ["c", "cpp", "objc", "objcpp"], |
@@ -25,7 +37,7 @@ | |||
25 | } | 37 | } |
26 | }, | 38 | }, |
27 | "haskell": { | 39 | "haskell": { |
28 | "command": "hie-wrapper", | 40 | "command": "hie", |
29 | "args": ["--lsp"], | 41 | "args": ["--lsp"], |
30 | "rootPatterns": [ | 42 | "rootPatterns": [ |
31 | "stack.yaml", | 43 | "stack.yaml", |
@@ -52,11 +64,19 @@ | |||
52 | "messageTarget": "float", | 64 | "messageTarget": "float", |
53 | "messageDelay": 150 | 65 | "messageDelay": 150 |
54 | }, | 66 | }, |
67 | "python.pythonPath": "./env/python", | ||
55 | "python.formatting.provider": "black", | 68 | "python.formatting.provider": "black", |
69 | "python.formatting.blackPath": "./env/black", | ||
70 | "python.linting.mypyEnabled": true, | ||
71 | "python.linting.mypyPath": "./env/mypy", | ||
72 | "python.linting.pylintEnabled": false, | ||
73 | "python.linting.pylamaEnabled": true, | ||
74 | "python.linting.pylamaPath": "./env/pylama", | ||
75 | "python.sortImports.path": "./env/isort", | ||
56 | "python.jediEnabled": true, | 76 | "python.jediEnabled": true, |
57 | "rust-analyzer": { | 77 | "rust-analyzer": { |
58 | "serverPath": "/home/np/.nix-profile/bin/rust-analyzer", | 78 | "serverPath": "/home/np/.nix-profile/bin/rust-analyzer", |
59 | "inlayHints.chainingHints": true, | 79 | "inlayHints.chainingHints": false, |
60 | "procMacro.enable": true, | 80 | "procMacro.enable": true, |
61 | "lruCapacity": 12 | 81 | "lruCapacity": 12 |
62 | } | 82 | } |