[NeoVim] Update to new hibiscus syntax

This commit is contained in:
2023-09-28 14:32:58 +02:00
parent e2772e383c
commit f8643931f0
2 changed files with 13 additions and 13 deletions

View File

@@ -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")