Browse Source

chad treesitter autotag replaces 2 plugins

Chris 4 years ago
parent
commit
408ad0680d
2 changed files with 15 additions and 7 deletions
  1. 2 1
      lua/nv-treesitter/init.lua
  2. 13 6
      lua/plugins.lua

+ 2 - 1
lua/nv-treesitter/init.lua

@@ -9,7 +9,8 @@ require'nvim-treesitter.configs'.setup {
         updatetime = 25, -- Debounced time for highlighting nodes in the playground from source code
         updatetime = 25, -- Debounced time for highlighting nodes in the playground from source code
         persist_queries = false -- Whether the query persists across vim sessions
         persist_queries = false -- Whether the query persists across vim sessions
     },
     },
-    rainbow = {enable = false},
+    autotag = {enable = true},
+    rainbow = {enable = false}
     -- refactor = {highlight_definitions = {enable = true}}
     -- refactor = {highlight_definitions = {enable = true}}
 }
 }
 
 

+ 13 - 6
lua/plugins.lua

@@ -85,6 +85,14 @@ return require('packer').startup(function(use)
     use 'mattn/vim-gist'
     use 'mattn/vim-gist'
     use 'mattn/webapi-vim'
     use 'mattn/webapi-vim'
 
 
+    -- Webdev
+    use 'windwp/nvim-ts-autotag'
+    use 'gennaro-tedesco/nvim-jqx'
+    use 'turbio/bracey.vim'
+
+    -- Registers
+    use 'gennaro-tedesco/nvim-peekup'
+
     -- General Plugins
     -- General Plugins
     use 'windwp/nvim-autopairs'
     use 'windwp/nvim-autopairs'
     use 'kevinhwang91/nvim-bqf'
     use 'kevinhwang91/nvim-bqf'
@@ -94,11 +102,8 @@ return require('packer').startup(function(use)
     use 'mhinz/vim-startify'
     use 'mhinz/vim-startify'
     use 'metakirby5/codi.vim'
     use 'metakirby5/codi.vim'
     use 'psliwka/vim-smoothie'
     use 'psliwka/vim-smoothie'
-    use {'iamcco/markdown-preview.nvim', run = 'cd app && npm install'}
     use 'moll/vim-bbye'
     use 'moll/vim-bbye'
-    use 'turbio/bracey.vim'
-    use 'AndrewRadev/tagalong.vim'
-    use 'alvan/vim-closetag'
+    use {'iamcco/markdown-preview.nvim', run = 'cd app && npm install'}
     use 'liuchengxu/vim-which-key'
     use 'liuchengxu/vim-which-key'
     use 'voldikss/vim-floaterm'
     use 'voldikss/vim-floaterm'
     use 'liuchengxu/vista.vim'
     use 'liuchengxu/vista.vim'
@@ -107,7 +112,8 @@ return require('packer').startup(function(use)
     use 'junegunn/goyo.vim'
     use 'junegunn/goyo.vim'
     use 'andymass/vim-matchup'
     use 'andymass/vim-matchup'
     use 'phaazon/hop.nvim'
     use 'phaazon/hop.nvim'
-    use 'gennaro-tedesco/nvim-jqx'
+    use 'tpope/vim-sleuth'
+
 	-- TODO put this back when stable for indent lines
 	-- TODO put this back when stable for indent lines
 -- 	use { 'lukas-reineke/indent-blankline.nvim', branch = 'lua'}
 -- 	use { 'lukas-reineke/indent-blankline.nvim', branch = 'lua'}
 -- 	vim.g.indent_blankline_space_char = ' '
 -- 	vim.g.indent_blankline_space_char = ' '
@@ -115,9 +121,10 @@ return require('packer').startup(function(use)
 -- 	vim.g.indent_blankline_filetype_exclude = {'help', 'startify'}
 -- 	vim.g.indent_blankline_filetype_exclude = {'help', 'startify'}
 -- 	vim.g.indent_blankline_char = '▏'
 -- 	vim.g.indent_blankline_char = '▏'
 -- 	vim.g.indent_blankline_use_treesitter=true
 -- 	vim.g.indent_blankline_use_treesitter=true
+    -- use 'AndrewRadev/tagalong.vim'
+    -- use 'alvan/vim-closetag'
     -- use 'RRethy/vim-illuminate'
     -- use 'RRethy/vim-illuminate'
     -- use 'b3nj5m1n/kommentary'
     -- use 'b3nj5m1n/kommentary'
-    use 'tpope/vim-sleuth'
     -- use {
     -- use {
     --     'glacambre/firenvim',
     --     'glacambre/firenvim',
     --     run = function()
     --     run = function()