diff --git a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl index f8eecf2..3302a24 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/lsp.fnl @@ -74,6 +74,7 @@ (init-lsp :svelte) (init-lsp :elmls) (init-lsp :texlab) +(init-lsp :pyright) ;(init-lsp :ltex {:settings {:ltex {:dictionary {:de-DE [":~/.config/ltex-ls/dictionary.txt"]} ;:disabledRules {:de-DE [":~/.config/ltex-ls/disabledRules.txt"]} ;:hiddenFalsePositives {:de-DE [":~/.config/ltex-ls/hiddenFalsePositives.txt"]} diff --git a/scripts/scripts/preview.sh b/scripts/scripts/preview.sh index 34c760b..33717ea 100755 --- a/scripts/scripts/preview.sh +++ b/scripts/scripts/preview.sh @@ -5,6 +5,9 @@ case "$1" in esac case "$(file --mime-type "$1")" in + *directory*) + exa --icons -1 --color=always "$1" + ;; *text*) bat --color always --plain --theme gruvbox-dark "$1" ;; @@ -17,9 +20,6 @@ case "$(file --mime-type "$1")" in echo "Install timg or catimg to view images!" fi ;; - *directory*) - exa --icons -1 --color=always "$1" - ;; *) echo "unknown file format" ;;