Skip to content

Commit

Permalink
add neovim config
Browse files Browse the repository at this point in the history
  • Loading branch information
deepflame committed Mar 6, 2022
1 parent 75392d1 commit 70b401c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions nvim/coc-settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"],
"initializationOptions": {
"usePlaceholders": true
}
},
"ccls": {
"enable": true,
"command": "ccls",
"filetypes": ["c", "cpp", "objc", "objcpp"],
"rootPatterns": [".ccls", "compile_commands.json", ".vim/", ".git/", ".hg/"],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
}
},
"diagnostic.displayByAle": true
}
File renamed without changes.

0 comments on commit 70b401c

Please sign in to comment.