add autotag plugin
This commit is contained in:
parent
c3ab81018a
commit
c2834033b0
8
init.lua
8
init.lua
@ -142,8 +142,12 @@ end
|
||||
-- See `:help nvim-treesitter`
|
||||
require('nvim-treesitter.configs').setup {
|
||||
-- Add languages to be installed here that you want installed for treesitter
|
||||
ensure_installed = { 'c', 'cpp', 'rust', 'go', 'lua', 'python', 'rust', 'typescript', 'help', 'vim' },
|
||||
|
||||
ensure_installed = { 'c', 'cpp', 'rust', 'go', 'lua', 'python', 'rust', 'typescript', 'tsx', 'help', 'vim', },
|
||||
autotag = {
|
||||
enable = true,
|
||||
enable_close = true,
|
||||
enable_close_on_slash = true,
|
||||
},
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true, disable = { 'python', 'c', 'cpp' } },
|
||||
incremental_selection = {
|
||||
|
@ -14,7 +14,7 @@ require('packer').startup({function(use)
|
||||
use {
|
||||
-- Useful status updates for LSP
|
||||
'j-hui/fidget.nvim',
|
||||
branch = 'legacy',
|
||||
-- branch = 'legacy',
|
||||
}
|
||||
|
||||
use { -- LSP Configuration & Plugins
|
||||
@ -42,6 +42,8 @@ require('packer').startup({function(use)
|
||||
end
|
||||
}
|
||||
|
||||
use "windwp/nvim-ts-autotag"
|
||||
|
||||
use {
|
||||
'phaazon/hop.nvim',
|
||||
branch = 'v2', -- optional but strongly recommended
|
||||
|
Loading…
x
Reference in New Issue
Block a user