diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json new file mode 100644 index 0000000..f8fdbd4 --- /dev/null +++ b/nvim/coc-settings.json @@ -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 +} diff --git a/config/nvim/init.vim b/nvim/init.vim similarity index 100% rename from config/nvim/init.vim rename to nvim/init.vim