move old nvim config to deprecated

This commit is contained in:
2024-03-15 09:49:16 +08:00
parent 8212922665
commit 8ed1cb45f6
17 changed files with 2 additions and 4 deletions

View File

@ -46,7 +46,7 @@ local opts = {
extra_args = { "--dialect", "postgres" }, -- change to your dialect extra_args = { "--dialect", "postgres" }, -- change to your dialect
}), }),
}, },
on_attach = function(client, bufnr) --[[ on_attach = function(client, bufnr)
if client.supports_method("textDocument/formatting") then if client.supports_method("textDocument/formatting") then
vim.api.nvim_clear_autocmds({ vim.api.nvim_clear_autocmds({
group = augroup, group = augroup,
@ -60,7 +60,7 @@ local opts = {
end, end,
}) })
end end
end, end, ]]
} }
return opts return opts

View File

@ -2,8 +2,6 @@
# create symbol link for configurations # create symbol link for configurations
# nvim
ln -s ~/dotfiles/nvim/custom/ ~/.config/nvim/lua
# zsh # zsh
ln -s ~/dotfiles/zsh/zshrc ~/.zshrc ln -s ~/dotfiles/zsh/zshrc ~/.zshrc
ln -s ~/dotfiles/zsh/p10k.zsh ~/.p10k.zsh ln -s ~/dotfiles/zsh/p10k.zsh ~/.p10k.zsh