fix(neovim): add missing scripts.vim
This commit is contained in:
parent
8a36ad5137
commit
d29f2d1cc8
|
@ -80,4 +80,6 @@ in {
|
||||||
withNodeJs = true;
|
withNodeJs = true;
|
||||||
withPython = false;
|
withPython = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.configFile."nvim/scripts.vim".source = ./scripts.vim;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,13 +10,13 @@ if getline(1) =~ '^#!.*nix-shell'
|
||||||
call dist#ft#SetFileTypeSH(s:command)
|
call dist#ft#SetFileTypeSH(s:command)
|
||||||
elseif s:command == 'zsh'
|
elseif s:command == 'zsh'
|
||||||
set ft=zsh
|
set ft=zsh
|
||||||
elseif s:command =~ '^gnumake\d*\>'
|
elseif s:command =~ 'make\>'
|
||||||
set ft=make
|
set ft=make
|
||||||
elseif s:command =~ '^nodejs'
|
elseif s:command =~ '^node\(js\)\=\>\|^js\>'
|
||||||
set ft=javascript
|
set ft=javascript
|
||||||
elseif s:command =~ '^ghc'
|
elseif s:command =~ '^ghci'
|
||||||
set ft=haskell
|
set ft=haskell
|
||||||
elseif s:command =~ '^python'
|
elseif s:command =~ 'python'
|
||||||
set ft=python
|
set ft=python
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue