mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
more config
This commit is contained in:
parent
b5cab2b19f
commit
0884d20450
2 changed files with 7 additions and 17 deletions
|
@ -140,7 +140,7 @@
|
|||
|
||||
:tami5/lspsaga.nvim {:after "vim-gruvbox8"
|
||||
:opt false
|
||||
:commit "373bc031b39730cbfe492533c3acfac36007899a"
|
||||
:branch "nvim6.0"
|
||||
:config #(require "dots.plugins.lspsaga")}
|
||||
|
||||
; >>>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
|
||||
(def latex-command-settings
|
||||
{:dummy ["\\texttt{}"]})
|
||||
{:dummy ["\\texttt{}" "\\scripture{}"]})
|
||||
|
||||
|
||||
|
||||
|
@ -22,8 +22,8 @@
|
|||
(let [tbl {}]
|
||||
(each [option commands (pairs latex-command-settings)]
|
||||
(each [_ command (ipairs commands)]
|
||||
(tset tbl command option))))
|
||||
(tbl))
|
||||
(tset tbl command option)))
|
||||
tbl))
|
||||
|
||||
|
||||
(fn read-files [files]
|
||||
|
@ -106,18 +106,7 @@
|
|||
(set configs.ltex
|
||||
{:default_config {:cmd [:ltex-ls]
|
||||
:filetypes [:tex :bib :md]
|
||||
:root_dir (fn [filename] (lsputil.path.dirname filename))
|
||||
:settings {:ltex {:enabled [:latex :tex :bib :md]
|
||||
:language "de-DE"
|
||||
:checkFrequency "save"
|
||||
:diagnosticSeverity "information"
|
||||
:setenceCacheSize 5000
|
||||
:additionalRules {:enablePickyRules true
|
||||
:motherTongue "de-DE"}
|
||||
:dictionary {:de-DE (read-files (. Dictionary-file :de-DE))}
|
||||
:disabledRules {:de-DE (read-files (. Disabled-rules-file :de-DE))}
|
||||
:hiddenFalsePositives {:de-DE (read-files (. False-positives-file :de-DE))}
|
||||
:latex {:commands latex-command-settings-formatted}}}}})
|
||||
:root_dir (fn [filename] (lsputil.path.dirname filename))}})
|
||||
|
||||
(lsp.ltex.setup {:settings {:ltex {:enabled [:latex :tex :bib :md]
|
||||
:language "de-DE"
|
||||
|
@ -128,7 +117,8 @@
|
|||
:motherTongue "de-DE"}
|
||||
:dictionary {:de-DE (read-files (. Dictionary-file :de-DE))}
|
||||
:disabledRules {:de-DE (read-files (. Disabled-rules-file :de-DE))}
|
||||
:hiddenFalsePositives {:de-DE (read-files (. False-positives-file :de-DE))}}}})
|
||||
:hiddenFalsePositives {:de-DE (read-files (. False-positives-file :de-DE))}
|
||||
:latex {:commands latex-command-settings-formatted}}}})
|
||||
|
||||
(set lsp.ltex.dictionary_file Dictionary-file)
|
||||
(set lsp.ltex.disabledrules_file Disabled-rules-file)
|
||||
|
|
Loading…
Reference in a new issue