Removed indentation settings
This commit is contained in:
parent
c7ea874c7a
commit
8ae8e7b31a
|
@ -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 } }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user