Add files via upload

This commit is contained in:
Ariel 2024-02-23 00:50:58 +08:00 committed by GitHub
parent 9240eadbf0
commit aac8703077
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -363,6 +363,7 @@ vim.keymap.set('i', '<C-z>', '<ESC>:u<CR>i')
vim.keymap.set('i', '<C-c>', '<ESC>yyi') vim.keymap.set('i', '<C-c>', '<ESC>yyi')
vim.keymap.set('i', '<C-v>', '<ESC>PA') vim.keymap.set('i', '<C-v>', '<ESC>PA')
vim.keymap.set('i', '<C-x>', '<ESC>ddi') vim.keymap.set('i', '<C-x>', '<ESC>ddi')
vim.keymap.set('i', '<Home>', '<ESC>^i')
vim.keymap.set('i', '<C-a>', '<ESC>ggVG') vim.keymap.set('i', '<C-a>', '<ESC>ggVG')
vim.keymap.set('n', '<C-a>', 'ggVG') vim.keymap.set('n', '<C-a>', 'ggVG')
vim.keymap.set('n', '<leader>`', ':split<CR>:terminal<CR>i') vim.keymap.set('n', '<leader>`', ':split<CR>:terminal<CR>i')
@ -477,9 +478,14 @@ prettier.setup({
"typescript", "typescript",
"typescriptreact", "typescriptreact",
"yaml", "yaml",
"vue",
}, },
}) })
require("symbols-outline").setup() require("symbols-outline").setup()
require("todo-comments").setup() require("todo-comments").setup()
lspconfig.volar.setup{
filetypes = {'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue', 'json'}
}