modules/neovim: Also manage coc setings file
This commit is contained in:
parent
f0234ccdf3
commit
cf76f3cf42
|
@ -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 = {
|
||||
enable = true;
|
||||
withPython3 = true;
|
||||
|
|
Loading…
Reference in a new issue