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 %{
|
# hook -group lsp-filetype-bibtex global BufSetOption filetype=bibtex %{
|
||||||
set-option buffer lsp_servers %{
|
# set-option buffer lsp_servers %{
|
||||||
[ltex-ls-plus]
|
# # [ltex-ls-plus]
|
||||||
root_globs = [".git", ".hg", "main.tex"]
|
# # root_globs = [".git", ".hg", "main.tex"]
|
||||||
[ltex-ls-plus.settings.ltex]
|
# # [ltex-ls-plus.settings.ltex]
|
||||||
# TODO: write a script where the dictionary is a list of words
|
# # # TODO: write a script where the dictionary is a list of words
|
||||||
# that's read from a file and then output in TOML format.
|
# # # 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
|
# # # 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" = ["builtin", "Fichtinger", "SonarAuth", "sexpenis" ], "en-CA" = ["more", "words"] }
|
||||||
dictionary = { "en-US" = [] }
|
# # dictionary = { "en-US" = [] }
|
||||||
|
|
||||||
[texlab]
|
# [texlab]
|
||||||
root_globs = [".git", ".hg"]
|
# root_globs = [".git", ".hg"]
|
||||||
[texlab.settings.texlab]
|
# [texlab.settings.texlab]
|
||||||
# See https://github.com/latex-lsp/texlab/wiki/Configuration
|
# # See https://github.com/latex-lsp/texlab/wiki/Configuration
|
||||||
#
|
# #
|
||||||
# Preview configuration for zathura with SyncTeX search.
|
# # Preview configuration for zathura with SyncTeX search.
|
||||||
# For other PDF viewers see https://github.com/latex-lsp/texlab/wiki/Previewing
|
# # For other PDF viewers see https://github.com/latex-lsp/texlab/wiki/Previewing
|
||||||
build.onSave = true
|
# build.onSave = true
|
||||||
forwardSearch.executable = "zathura"
|
# forwardSearch.executable = "zathura"
|
||||||
forwardSearch.args = [
|
# forwardSearch.args = [
|
||||||
"%p",
|
# "%p",
|
||||||
"--synctex-forward", # Support texlab-forward-search
|
# "--synctex-forward", # Support texlab-forward-search
|
||||||
"%l:1:%f",
|
# "%l:1:%f",
|
||||||
"--synctex-editor-command", # Inverse search: use Control+Left-Mouse-Button to jump to source.
|
# "--synctex-editor-command", # Inverse search: use Control+Left-Mouse-Button to jump to source.
|
||||||
"""
|
# """
|
||||||
sh -c '
|
# sh -c '
|
||||||
echo "
|
# echo "
|
||||||
evaluate-commands -client %%opt{texlab_client} %%{
|
# evaluate-commands -client %%opt{texlab_client} %%{
|
||||||
evaluate-commands -try-client %%opt{jumpclient} %%{
|
# evaluate-commands -try-client %%opt{jumpclient} %%{
|
||||||
edit -- %%{input} %%{line}
|
# edit -- %%{input} %%{line}
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
" | kak -p $kak_session
|
# " | kak -p $kak_session
|
||||||
'
|
# '
|
||||||
""",
|
# """,
|
||||||
]
|
# ]
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
remove-hooks global lsp-filetype-latex
|
remove-hooks global lsp-filetype-latex
|
||||||
hook -group lsp-filetype-latex global BufSetOption filetype=latex %{
|
hook -group lsp-filetype-latex global BufSetOption filetype=latex %{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue