Removed indentation settings

This commit is contained in:
SolitudeSF 2017-12-11 10:26:06 +02:00
parent c7ea874c7a
commit 8ae8e7b31a

View File

@ -75,8 +75,6 @@ def -hidden nim-indent-on-new-line %{
hook -group nim-highlight global WinSetOption filetype=nim %{ add-highlighter window ref nim } hook -group nim-highlight global WinSetOption filetype=nim %{ add-highlighter window ref nim }
hook global WinSetOption filetype=nim %{ hook global WinSetOption filetype=nim %{
set buffer tabstop 2
set buffer indentwidth 2
hook window InsertChar \n -group nim-indent nim-indent-on-new-line hook window InsertChar \n -group nim-indent nim-indent-on-new-line
# cleanup trailing whitespaces on current line insert end # cleanup trailing whitespaces on current line insert end
hook window InsertEnd .* -group nim-indent %{ try %{ exec -draft \; <a-x> s ^\h+$ <ret> d } } hook window InsertEnd .* -group nim-indent %{ try %{ exec -draft \; <a-x> s ^\h+$ <ret> d } }