Updates
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
(import-macros {: exec : map!} :hibiscus.vim)
|
||||
(import-macros {: exec! : map!} :hibiscus.vim)
|
||||
|
||||
(local M {})
|
||||
|
||||
@@ -58,15 +58,15 @@
|
||||
(fn [command _] (do_command (. command.arguments 1 :falsePositives) :hiddenFalsePositives)))
|
||||
|
||||
(fn post_attach []
|
||||
(exec [[:setlocal "spell"] [:setlocal "nospell"]])
|
||||
(exec! [[:setlocal "spell"] [:setlocal "nospell"]])
|
||||
(update_config "en-US" "dictionary")
|
||||
(update_config "en-US" "disabledRules")
|
||||
(update_config "en-US" "hiddenFalsePositives")
|
||||
(map! [n :buffer :verbose] :zug (fn [] (exec [[:normal! "zug"]])
|
||||
(map! [n :buffer :verbose] :zug (fn [] (exec! [[:normal! "zug"]])
|
||||
(update_config "en-US" "dictionary")
|
||||
nil)
|
||||
"Remove word from spellfile and update ltex")
|
||||
(map! [n :buffer :verbose] :zg (fn [] (exec [[:normal! "zg"]])
|
||||
(map! [n :buffer :verbose] :zg (fn [] (exec! [[:normal! "zg"]])
|
||||
(update_config "en-US" "dictionary")
|
||||
nil)
|
||||
"Add word to spellfile and update ltex")
|
||||
|
||||
Reference in New Issue
Block a user