yes (don't apply this to server)
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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 -)"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user