modules/neovim: Also manage coc setings file

This commit is contained in:
fleaz 2023-02-22 22:23:25 +01:00
parent f0234ccdf3
commit cf76f3cf42
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -1,4 +1,24 @@
{ pkgs, ... }: { { pkgs, ... }:
{
home.file.".config/nvim/coc-settings.json".text = ''
{
"diagnostic.virtualText": true,
"diagnostic.checkCurrentLine": false,
"diagnostic.virtualTextCurrentLineOnly": false,
"diagnostic.messageTarget": "",
"suggest.noselect": true,
"languageserver": {
"nix": {
"command": "nil",
"filetypes": ["nix"],
"rootPatterns": ["flake.nix"]
}
}
}
'';
programs.neovim = { programs.neovim = {
enable = true; enable = true;
withPython3 = true; withPython3 = true;