yes (don't apply this to server)

This commit is contained in:
LinlyBoi
2023-02-14 22:58:07 +02:00
parent 5436946455
commit 70df5dd16d
3 changed files with 7 additions and 2 deletions

View File

@@ -226,6 +226,7 @@ let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'javascript': ['eslint'],
\ 'rust': ['rustfmt'],
\ 'dart': ['dartfmt'],
\}
let g:rustfmt_autosave = 1
let g:rust_clip_command = 'xclip -selection clipboard'

View File

@@ -200,3 +200,7 @@ fi
## Generated 2023-02-10 19:53:12.722758Z
## By /home/libkyy/.local/share/flutter/bin/cache/flutter_tools.snapshot
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

View File

@@ -85,10 +85,10 @@ ext x?html?, has w3m, terminal = w3m "$@"
# Misc
#-------------------------------------------
# Define the "editor" for text files as first action
mime ^text, label editor = vim -- "$@"
mime ^text, label editor = "$EDITOR" -- "$@"
mime ^text, label pager = "$PAGER" -- "$@"
!mime ^text, label editor, ext xml|json|csv|py|pl|sh|php|tex = vim -- "$@"
!mime ^text, label editor, ext dart|rs|js|ts|rb = nvim -- "$@"
!mime ^text, label editor, ext dart|rs|js|ts|rb|java = nvim -- "$@"
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
ext 1 = man "$1"