mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/otter: add autoActivate
support for the new lsp
module
This commit is contained in:
parent
6a1a348ab1
commit
f198380fa5
1 changed files with 4 additions and 0 deletions
|
@ -113,6 +113,10 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
plugins.lsp.onAttach = lib.mkIf cfg.autoActivate ''
|
||||
require('otter').activate()
|
||||
'';
|
||||
|
||||
lsp.onAttach = lib.mkIf cfg.autoActivate ''
|
||||
require('otter').activate()
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue