users/editor: add extra ftdetect
This commit is contained in:
parent
5faf8647b0
commit
09e175734e
1 changed files with 8 additions and 1 deletions
|
@ -7,7 +7,14 @@ let
|
|||
enableDevIcons = true;
|
||||
enableTabby = true;
|
||||
enableOrgMode = true;
|
||||
extraPlugins = [ pkgs.vimPlugins.d2-vim ];
|
||||
extraConfig = ''
|
||||
aug extra_ftdetect
|
||||
au!
|
||||
au BufNewFile,BufRead *.d2 setfiletype d2
|
||||
au BufNewFile,BufRead *.ncl setfiletype nickel
|
||||
au BufNewFile,BufRead *.psql setfiletype psql
|
||||
aug END
|
||||
'';
|
||||
plugins = with pkgs.myneovim.nix2lua; {
|
||||
nvimTree.settings = {
|
||||
open_on_setup = true;
|
||||
|
|
Loading…
Reference in a new issue