AutoYADM commit: 2025-06-16 17:06:41

This commit is contained in:
Daniel Fichtinger 2025-06-16 17:06:41 -04:00
parent cae5b77602
commit 42e3ad62a7
2 changed files with 9 additions and 10 deletions

View file

@ -66,7 +66,7 @@ define-command -hidden -override lsp-hide-code-actions %{
set-option global lsp_debug false
# list of filetypes for which LSP will be activated in the window scope
declare-option str-list lsp_filetypes python go rust bash fish c cpp typst markdown yaml json jsonc bash sh typescript javascript latex
declare-option str-list lsp_filetypes python go rust bash fish c cpp typst markdown yaml json jsonc bash sh typescript javascript latex toml
declare-option -hidden bool inlay_enabled false
@ -280,6 +280,14 @@ hook -group lsp-filetype-typst global BufSetOption filetype=typst %{
set-option -add buffer lsp_servers "formatterPrintWidth = %opt{autowrap_column}"
}
hook -group lsp-filetype-toml global BufSetOption filetype=toml %{
set-option buffer lsp_servers %{
[taplo]
root_globs = [".git", ".hg", "."]
args = ["lsp", "stdio"]
}
}
# # can be empty, global, or file
# declare-option -hidden str harper_add ""
# define-command -hidden harper-add -params 1 %{

View file

@ -1,15 +1,6 @@
# Daniel's Personal kakrc
# Author: Daniel Fichtinger <daniel@ficd.ca>
# See README.md for explanations.
# Feel free to steal & modify any of it.
# Notes:
# I use colemak-dh keyboard layout. autoload/colemak.kak
# rebinds the default keys. If any of the bindings in kakrc
# seem strange, that's why :)
# Some things have been refactored into separate plugin repositories.
# Check git.sr.ht/~ficd to find them.
# Plugins not written by me are installed either with kak-bundle
# or just by copying their code into this configuration.
evaluate-commands %sh{ kak-tree-sitter -dks --init $kak_session }
evaluate-commands %sh{kak-popup init}