Configure CoC. It doesn't work as well as LSP by itself, though.
This commit is contained in:
parent
96b6276cc7
commit
223a68e639
19
nvim/.config/nvim/coc-settings.json
Normal file
19
nvim/.config/nvim/coc-settings.json
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"languageserver": {
|
||||||
|
"clangd": {
|
||||||
|
"command": "clangd",
|
||||||
|
"filetypes": ["c", "cpp"],
|
||||||
|
"rootPatterns": ["compile_flags.txt", "compile_commands.json" ]
|
||||||
|
},
|
||||||
|
"haskell": {
|
||||||
|
"command": "hie-wrapper",
|
||||||
|
"filetypes": ["haskell"],
|
||||||
|
"rootPatterns": [".stack.yaml", "cabal.config", "package.yaml"]
|
||||||
|
},
|
||||||
|
"scry": {
|
||||||
|
"command": "scry",
|
||||||
|
"filetypes": ["crystal"],
|
||||||
|
"rootPatterns": ["shard.yml"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user