vim-nix
vim-nix copied to clipboard
Vim configuration files for Nix http://nixos.org/nix
I don't know why this is a thing, I can't even disable it.
This adds fenced syntax highlighting to Nix files by making use of a leading comment on multiline strings. Edit: This borrows much of the loading code for fenced languages from...
https://nixos.org/manual/nix/unstable/expressions/language-values.html > Antiquotation is supported in any paths except those in angle brackets. `./${foo}-${bar}.nix` is a more convenient way of writing `./. + "/" + foo + "-" + bar...
use autoload function can save time of source the definition when user don't use the command.
Take a look at how `vim-nix` indents this code: ```nix rec { test = let var = "value"; in { inner_var = var; }; } ``` The indentation is correctly...
I've been experimenting with language fencing in my own Vim config, and find it really useful. I'll probably drop in a pull request at some point; I just wanted to...
From : http://vim.wikia.com/wiki/Folding > Many programming languages have a syntax file that supports folding. Would be nice to have that in vim as well.