AutoYADM commit: 2025-06-16 18:52:58
This commit is contained in:
parent
00d6642368
commit
540f573c37
1 changed files with 38 additions and 38 deletions
|
@ -163,45 +163,45 @@ hook -group lsp-filetype-python global BufSetOption filetype=python %{
|
|||
}
|
||||
}
|
||||
|
||||
hook -group lsp-filetype-bibtex global BufSetOption filetype=bibtex %{
|
||||
set-option buffer lsp_servers %{
|
||||
[ltex-ls-plus]
|
||||
root_globs = [".git", ".hg", "main.tex"]
|
||||
[ltex-ls-plus.settings.ltex]
|
||||
# TODO: write a script where the dictionary is a list of words
|
||||
# that's read from a file and then output in TOML format.
|
||||
# This way we can implement adding our own words to this list dynamically
|
||||
# dictionary = { "en-US" = ["builtin", "Fichtinger", "SonarAuth", "sexpenis" ], "en-CA" = ["more", "words"] }
|
||||
dictionary = { "en-US" = [] }
|
||||
# hook -group lsp-filetype-bibtex global BufSetOption filetype=bibtex %{
|
||||
# set-option buffer lsp_servers %{
|
||||
# # [ltex-ls-plus]
|
||||
# # root_globs = [".git", ".hg", "main.tex"]
|
||||
# # [ltex-ls-plus.settings.ltex]
|
||||
# # # TODO: write a script where the dictionary is a list of words
|
||||
# # # that's read from a file and then output in TOML format.
|
||||
# # # This way we can implement adding our own words to this list dynamically
|
||||
# # # dictionary = { "en-US" = ["builtin", "Fichtinger", "SonarAuth", "sexpenis" ], "en-CA" = ["more", "words"] }
|
||||
# # dictionary = { "en-US" = [] }
|
||||
|
||||
[texlab]
|
||||
root_globs = [".git", ".hg"]
|
||||
[texlab.settings.texlab]
|
||||
# See https://github.com/latex-lsp/texlab/wiki/Configuration
|
||||
#
|
||||
# Preview configuration for zathura with SyncTeX search.
|
||||
# For other PDF viewers see https://github.com/latex-lsp/texlab/wiki/Previewing
|
||||
build.onSave = true
|
||||
forwardSearch.executable = "zathura"
|
||||
forwardSearch.args = [
|
||||
"%p",
|
||||
"--synctex-forward", # Support texlab-forward-search
|
||||
"%l:1:%f",
|
||||
"--synctex-editor-command", # Inverse search: use Control+Left-Mouse-Button to jump to source.
|
||||
"""
|
||||
sh -c '
|
||||
echo "
|
||||
evaluate-commands -client %%opt{texlab_client} %%{
|
||||
evaluate-commands -try-client %%opt{jumpclient} %%{
|
||||
edit -- %%{input} %%{line}
|
||||
}
|
||||
}
|
||||
" | kak -p $kak_session
|
||||
'
|
||||
""",
|
||||
]
|
||||
}
|
||||
}
|
||||
# [texlab]
|
||||
# root_globs = [".git", ".hg"]
|
||||
# [texlab.settings.texlab]
|
||||
# # See https://github.com/latex-lsp/texlab/wiki/Configuration
|
||||
# #
|
||||
# # Preview configuration for zathura with SyncTeX search.
|
||||
# # For other PDF viewers see https://github.com/latex-lsp/texlab/wiki/Previewing
|
||||
# build.onSave = true
|
||||
# forwardSearch.executable = "zathura"
|
||||
# forwardSearch.args = [
|
||||
# "%p",
|
||||
# "--synctex-forward", # Support texlab-forward-search
|
||||
# "%l:1:%f",
|
||||
# "--synctex-editor-command", # Inverse search: use Control+Left-Mouse-Button to jump to source.
|
||||
# """
|
||||
# sh -c '
|
||||
# echo "
|
||||
# evaluate-commands -client %%opt{texlab_client} %%{
|
||||
# evaluate-commands -try-client %%opt{jumpclient} %%{
|
||||
# edit -- %%{input} %%{line}
|
||||
# }
|
||||
# }
|
||||
# " | kak -p $kak_session
|
||||
# '
|
||||
# """,
|
||||
# ]
|
||||
# }
|
||||
# }
|
||||
|
||||
remove-hooks global lsp-filetype-latex
|
||||
hook -group lsp-filetype-latex global BufSetOption filetype=latex %{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue