diff options
author | aszlig <aszlig@nix.build> | 2018-05-02 08:03:38 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-05-02 08:07:50 +0200 |
commit | 975f41b4bef463ffda61920d01677a3a0d57657b (patch) | |
tree | 2021f5e484cb290b3845aaebc5dee0afc0d96991 | |
parent | 0eef5b12075a886d071eeef20ca92534adaf72df (diff) |
pkgs/vim: Don't autoalign Ledger files anymore
I've introduced this in 45aab49b33ab2cd4c327b996d6924f104b038193. It turns out that autocomplete_and_align when leaving insert mode is more annoying than useful, because first of all I use hledger and it's syntax additions and second I also use different currencies, which then get aligned and autocompleted into "something with EUR". Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r-- | pkgs/aszlig/vim/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/aszlig/vim/default.nix b/pkgs/aszlig/vim/default.nix index 11063702..95db41b2 100644 --- a/pkgs/aszlig/vim/default.nix +++ b/pkgs/aszlig/vim/default.nix @@ -356,8 +356,7 @@ let au FileType gitcommit setlocal textwidth=72 au FileType docbk setlocal tabstop=2 shiftwidth=2 expandtab - " Autocomplete/align Ledger lines after leaving insert mode - au FileType ledger au InsertLeave * call ledger#autocomplete_and_align() + " Enable folding for Ledger files au FileType ledger set fdm=syntax " Do not sleuth these file types! |