diff options
Diffstat (limited to 'nixos/config/coc-settings.json')
-rw-r--r-- | nixos/config/coc-settings.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nixos/config/coc-settings.json b/nixos/config/coc-settings.json new file mode 100644 index 0000000..1a8159e --- /dev/null +++ b/nixos/config/coc-settings.json @@ -0,0 +1,18 @@ +{ + "suggest.noselect": true, + "clangd.semanticHighlighting": true, + "coc.preferences.semanticTokensHighlights": false, + "languageserver": { + "haskell": { + "command": "haskell-language-server-wrapper", + "args": ["--lsp"], + "rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"], + "filetypes": ["haskell", "lhaskell"] + }, + "nix": { + "command": "nil", + "filetypes": ["nix"], + "rootPatterns": ["flake.nix"] + } + } +} |