nvim: treesitter add blade
This commit is contained in:
parent
882210acb5
commit
ad2443fc7c
@ -3,6 +3,11 @@
|
||||
local map = vim.keymap.set
|
||||
local neomap = vim.api.nvim_set_keymap
|
||||
|
||||
vim.keymap.set("n", "c", [["_c]], { noremap = true })
|
||||
vim.keymap.set("n", "C", [["_C]], { noremap = true })
|
||||
vim.keymap.set("n", "d", [["_d]], { noremap = true })
|
||||
vim.keymap.set("n", "x", [["_x]], { noremap = true })
|
||||
|
||||
-- 處理剪貼簿習慣對應(在Insert模式可使用慣用的快速鍵)
|
||||
vim.opt.keymodel = "startsel" -- 啟用 Shift + 方向鍵選取功能
|
||||
neomap('n', '<C-a>', 'ggVG', { noremap = true, silent = true })
|
||||
|
@ -22,6 +22,7 @@ return {
|
||||
"regex",
|
||||
"bash",
|
||||
"html",
|
||||
"blade",
|
||||
"javascript",
|
||||
"json",
|
||||
"lua",
|
||||
@ -30,7 +31,6 @@ return {
|
||||
"python",
|
||||
"php",
|
||||
"go",
|
||||
"html",
|
||||
"css",
|
||||
},
|
||||
highlight = {
|
||||
|
@ -49,8 +49,9 @@ zinit snippet OMZ::lib/history.zsh
|
||||
zinit snippet OMZP::vscode
|
||||
zinit snippet OMZ::lib/key-bindings.zsh
|
||||
zinit snippet OMZ::lib/completion.zsh
|
||||
zinit snippet OMZ::plugins/sudo/sudo.plugin.zsh
|
||||
zinit snippet OMZP::sudo
|
||||
zinit snippet OMZ::lib/theme-and-appearance.zsh
|
||||
zinit snippet OMZP::laravel
|
||||
|
||||
#zinit wait="1" lucid for \
|
||||
# OMZL::clipboard.zsh \
|
||||
@ -154,6 +155,7 @@ bindkey '^P' my_paste_from_clipboard # 例如 Ctrl+P
|
||||
# SSH 自動補齊
|
||||
zinit light sunlei/zsh-ssh
|
||||
|
||||
|
||||
# overwrite ls
|
||||
if command -v colorls &> /dev/null; then
|
||||
alias ls='colorls'
|
||||
|
Loading…
x
Reference in New Issue
Block a user