This commit is contained in:
ElKowar 2023-04-19 09:20:17 +02:00
parent 7486f2f13f
commit 4386e92c01
No known key found for this signature in database
GPG key ID: 655E18966534CAB1
2 changed files with 4 additions and 3 deletions

View file

@ -74,6 +74,7 @@
(init-lsp :svelte) (init-lsp :svelte)
(init-lsp :elmls) (init-lsp :elmls)
(init-lsp :texlab) (init-lsp :texlab)
(init-lsp :pyright)
;(init-lsp :ltex {:settings {:ltex {:dictionary {:de-DE [":~/.config/ltex-ls/dictionary.txt"]} ;(init-lsp :ltex {:settings {:ltex {:dictionary {:de-DE [":~/.config/ltex-ls/dictionary.txt"]}
;:disabledRules {:de-DE [":~/.config/ltex-ls/disabledRules.txt"]} ;:disabledRules {:de-DE [":~/.config/ltex-ls/disabledRules.txt"]}
;:hiddenFalsePositives {:de-DE [":~/.config/ltex-ls/hiddenFalsePositives.txt"]} ;:hiddenFalsePositives {:de-DE [":~/.config/ltex-ls/hiddenFalsePositives.txt"]}

View file

@ -5,6 +5,9 @@ case "$1" in
esac esac
case "$(file --mime-type "$1")" in case "$(file --mime-type "$1")" in
*directory*)
exa --icons -1 --color=always "$1"
;;
*text*) *text*)
bat --color always --plain --theme gruvbox-dark "$1" 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!" echo "Install timg or catimg to view images!"
fi fi
;; ;;
*directory*)
exa --icons -1 --color=always "$1"
;;
*) *)
echo "unknown file format" echo "unknown file format"
;; ;;