add: autotags for jsx/tsx
This commit is contained in:
parent
a7af38c327
commit
c3484bcd9a
2 changed files with 8 additions and 0 deletions
5
.config/nvim/after/plugin/autotags.rc.lua
Normal file
5
.config/nvim/after/plugin/autotags.rc.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
local status, autotag = pcall(require, "nvim-ts-autotag")
|
||||||
|
|
||||||
|
if not status then return end
|
||||||
|
|
||||||
|
autotag.setup()
|
||||||
|
|
@ -76,4 +76,7 @@ return require('packer').startup(function(use)
|
||||||
|
|
||||||
-- zen mode, mmmmmm
|
-- zen mode, mmmmmm
|
||||||
use "folke/zen-mode.nvim"
|
use "folke/zen-mode.nvim"
|
||||||
|
|
||||||
|
-- auto closing tags
|
||||||
|
use "windwp/nvim-ts-autotag"
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue