dotfiles/nvim/coc-settings.json

48 lines
983 B
JSON

{
"git.addedSign.text": "▐",
"git.changedSign.text": "▐",
"git.removedSign.text": "▐",
"git.topRemovedSign.text": "▐",
"git.changeRemovedSign.text": "▐",
"suggest.noselect": false,
"diagnostic.errorSign": "✘",
"diagnostic.warningSign": "⚠",
"diagnostic.infoSign": "🛈",
"diagnostic.checkCurrentLine": true,
"coc.preferences.formatOnSaveFiletypes": [
"css",
"go",
"html",
"javascript",
"json",
"ruby",
"rust",
"scss"
],
"hover.target": "float",
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": [
"go.mod",
".vim/",
".git/",
".hg/"
],
"filetypes": [
"go"
],
"initializationOptions": {
"usePlaceholders": true
}
}
},
"go.goplsOptions": {
"staticcheck": true
},
"snippets.textmateSnippetsRoots": [
"~/.config/coc/snippets"
],
"rust-analyzer.checkOnSave.command": "clippy"
}