style Trailing whitespace line endings or no final newline

This commit is contained in:
Yuan Chiu 2025-04-28 21:01:03 +08:00
parent fa9018d3b5
commit 3022dfe4af
16 changed files with 91 additions and 81 deletions

View File

@ -8,6 +8,16 @@ end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# 排除特定檔案類型的規則
[*.code-workspace]
# 不套用任何規則,覆蓋全域設定
indent_size = unset
indent_style = unset
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
[*.ps1]
charset = utf-8
end_of_line = crlf

View File

@ -15,9 +15,9 @@ dot_config/nvim
│ └── plugins
│ └── example.lua #LazyNvim給的範例,已經被第一段截斷掉,所以此腳本將不會執行
└── Readme.md
```
```
## 代找外掛
## 代找外掛
* Align
*

View File

@ -1 +1 @@
lua require('init')
lua require('init')

View File

@ -148,7 +148,7 @@ compdef floorp='firefox'
if command -v xdg-open &> /dev/null; then
bindkey -s '^[e' 'xdg-open "$PWD" 2> /dev/null\n'
elif [ "$(uname -s)" = 'Darwin' ]; then
bindkey -s '^[e' 'open "$PWD" 2> /dev/null\n'
bindkey -s '^[e' 'open "$PWD" 2> /dev/null\n'
fi
# bindkey -s '^E' 'gnome-terminal --working-directory="$PWD" -- zsh\n'
@ -161,7 +161,7 @@ export PATH="$HOME/.local/share/gem/ruby/3.3.0/bin:$PATH"
# Fix ython3 to python Path on macOS
if [ "$(uname -s)" = 'Darwin' ]; then
export PATH=/usr/local/opt/python/libexec/bin:$PATH
export PATH=/usr/local/opt/python/libexec/bin:$PATH
fi
# Created by `pipx` on 2023-01-30 19:57:14