diff options
author | Akshay <[email protected]> | 2020-07-22 03:34:08 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-07-22 03:34:08 +0100 |
commit | 51810b5c07e20982ebdf66f0bfb384c4bf55ad7d (patch) | |
tree | b5120bfc9b0ca72c9293afb9ed6e2e632a811deb /nvim/.config/nvim/coc-settings.json |
squash again
Diffstat (limited to 'nvim/.config/nvim/coc-settings.json')
-rw-r--r-- | nvim/.config/nvim/coc-settings.json | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json new file mode 100644 index 0000000..872ca3d --- /dev/null +++ b/nvim/.config/nvim/coc-settings.json | |||
@@ -0,0 +1,54 @@ | |||
1 | { | ||
2 | "suggest.timeout": 500, | ||
3 | "coc.source.vimtex.enable": true, | ||
4 | "coc.preferences.formatOnSaveFiletypes": [ | ||
5 | "dart", | ||
6 | "python" | ||
7 | ], | ||
8 | "languageserver": { | ||
9 | "bash": { | ||
10 | "command": "bash-language-server", | ||
11 | "args": ["start"], | ||
12 | "filetypes": ["sh"], | ||
13 | "ignoredRootPaths": ["~"] | ||
14 | }, | ||
15 | "ccls": { | ||
16 | "command": "ccls", | ||
17 | "filetypes": ["c", "cpp", "objc", "objcpp"], | ||
18 | "rootPatterns": [".ccls", "compile_commands.json", ".vim/", ".git/", ".hg/"], | ||
19 | "initializationOptions": { | ||
20 | "cache": { | ||
21 | "directory": "/tmp/ccls" | ||
22 | }, | ||
23 | "cformatpath": "/bin/clang-format" | ||
24 | } | ||
25 | }, | ||
26 | "haskell": { | ||
27 | "command": "hie-wrapper", | ||
28 | "args": ["--lsp"], | ||
29 | "rootPatterns": [ | ||
30 | "stack.yaml", | ||
31 | "cabal.config", | ||
32 | "package.yaml" | ||
33 | ], | ||
34 | "filetypes": [ | ||
35 | "hs", | ||
36 | "lhs", | ||
37 | "haskell" | ||
38 | ], | ||
39 | "initializationOptions": { | ||
40 | "languageServerHaskell": { | ||
41 | "hlintOn": true | ||
42 | } | ||
43 | } | ||
44 | } | ||
45 | }, | ||
46 | "diagnostic.errorSign": "×", | ||
47 | "diagnostic.warningSign": "!", | ||
48 | "python.formatting.provider": "black", | ||
49 | "python.jediEnabled": true, | ||
50 | "rust-analyzer.serverPath": "~/.cargo/bin/rust-analyzer", | ||
51 | "rust-analyzer.inlayHints.chainingHints": true, | ||
52 | "rust-analyzer.procMacro.enable": true, | ||
53 | "rust-analyzer.lruCapacity": 12 | ||
54 | } | ||