Small changes from here and there

This commit is contained in:
2025-11-07 14:45:36 -06:00
parent ee1c3b096e
commit 4a03cb5b7c
4 changed files with 9 additions and 6 deletions

View File

@@ -14,12 +14,14 @@ return {
},
sync_install = false, -- install `ensure_installed` parsers synchronously
auto_install = true, -- install missing on BufEnter, requires tree-sitter CLI
ignore_install = {},
ignore_install = {
"csv",
},
-- indent = { enable = true }, -- TODO: do i want this?
highlight = {
enable = true, -- `false` will disable the whole extension
disable = function(lang, buf)
for i, v in ipairs({ "html", }) do
for i, v in ipairs({ "html", "csv", }) do
if lang == v then
print("treesitter disabled for this language")
return true

View File

@@ -1,6 +1,6 @@
{
"markdown:toggle-preview": [
{ "modifiers": [ "Ctrl", "Shift" ], "key": "R" }
{ "modifiers": [ "Ctrl", "Shift" ], "key": "E" }
],
"switcher:open": [
{ "modifiers": [ "Ctrl" ], "key": "F" }
@@ -11,6 +11,9 @@
"app:toggle-right-sidebar": [
{ "modifiers": [ "Ctrl", "Shift" ], "key": "F" }
],
"editor:toggle-readable-line-length": [
{ "modifiers": [ "Ctrl", "Shift" ], "key": "R" }
],
"file-explorer:reveal-active-file": [
{ "modifiers": [ "Ctrl", "Shift" ], "key": "N" }
]

View File

@@ -36,8 +36,6 @@ theme_update_neovim() {
done
}
##########################################################################################
[[ ! -z $1 ]] && raw_target="$1" ||
raw_target=$(
find $DIR_THEME_SETTINGS -mindepth 1 -maxdepth 1 -type d -exec basename -- {} \; |

View File

@@ -33,7 +33,7 @@ sym_link $DIR_THEME_SETTINGS/$default_theme $DIR_THEME_SETTINGS/.current-theme
sym_link $DIR_THEME_SETTINGS/.current-theme/kitty.conf $XDG_CONFIG_HOME/kitty/theme.conf
sym_link $DIR_THEME_SETTINGS/.current-theme/tmux.conf $XDG_CONFIG_HOME/tmux/theme.conf
sym_link $DIR_THEME_SETTINGS/.current-theme/neovim.lua $XDG_CONFIG_HOME/nvim/current-theme
# TODO: finish theme work, set needed links per theme-set script
# TODO: set additional links per theme-set script
echo "setting the default theme: $default_theme"
$DIR_SCRIPTS/theme-set $default_theme