فهرست منبع

cleanup, need to configure all of the commented out plugins

christianchiarulli 4 سال پیش
والد
کامیت
daf5b8d948
1فایلهای تغییر یافته به همراه23 افزوده شده و 36 حذف شده
  1. 23 36
      lua/plugins.lua

+ 23 - 36
lua/plugins.lua

@@ -10,7 +10,6 @@ if fn.empty(fn.glob(install_path)) > 0 then
 end
 
 vim.cmd "autocmd BufWritePost plugins.lua PackerCompile" -- Auto compile when there are changes in plugins.lua
--- vim.cmd "autocmd BufWritePost lv-config.lua PackerCompile" -- Auto compile when there are changes in plugins.lua
 
 return require("packer").startup(function(use)
     -- Packer can manage itself as an optional plugin
@@ -48,7 +47,6 @@ return require("packer").startup(function(use)
         end
     }
 
-    -- use {'lukas-reineke/indent-blankline.nvim', opt=true, branch = 'lua'}
     use {
         "lewis6991/gitsigns.nvim",
 
@@ -187,11 +185,20 @@ return require("packer").startup(function(use)
         event = "BufRead",
         disable = not O.plugin.ts_playground.active
     }
-    --     -- Latex
-    --     use {"lervag/vimtex", opt = true}
+    -- use {'lukas-reineke/indent-blankline.nvim', opt=true, branch = 'lua'}
+    -- use {"nvim-telescope/telescope-fzy-native.nvim", opt = true}
+    -- use {"nvim-telescope/telescope-project.nvim", opt = true}
     --     -- comments in context
     --     use {'JoosepAlviste/nvim-ts-context-commentstring', opt = true}
     --     -- Git extras
+    -- Git
+    -- use {'tpope/vim-fugitive', opt = true}
+    -- use {'tpope/vim-rhubarb', opt = true}
+    -- pwntester/octo.nvim
+
+    -- Easily Create Gists
+    -- use {'mattn/vim-gist', opt = true}
+    -- use {'mattn/webapi-vim', opt = true}
     --     use {'f-person/git-blame.nvim', opt = true}
     --     -- diagnostics
     --     use {"folke/trouble.nvim", opt = true}
@@ -215,40 +222,20 @@ return require("packer").startup(function(use)
     --     use {'numToStr/FTerm.nvim', opt = true}
     --     -- Sane gx for netrw_gx bug
     --     use {"felipec/vim-sanegx", opt = true}
-
     -- lsp root
     -- use {"ahmedkhalf/lsp-rooter.nvim", opt = true} -- with this nvim-tree will follow you
+    --     -- Latex TODO what filetypes should this be active for?
+    --     use {"lervag/vimtex", opt = true}
 
     -- Extras
-    if O.extras then
-        -- HTML preview
-        use {
-            'turbio/bracey.vim',
-            run = 'npm install --prefix server',
-            opt = true
-        }
-
-        use {"nvim-telescope/telescope-fzy-native.nvim", opt = true}
-        use {"nvim-telescope/telescope-project.nvim", opt = true}
-
-        -- Autotag
-        -- use {"windwp/nvim-ts-autotag", opt = true}
-        -- require_plugin("nvim-ts-autotag")
-
-        -- folke/todo-comments.nvim
-        -- gennaro-tedesco/nvim-jqx
-        -- TimUntersberger/neogit
-        -- folke/lsp-colors.nvim
-        -- simrat39/symbols-outline.nvim
-
-        -- Git
-        -- use {'tpope/vim-fugitive', opt = true}
-        -- use {'tpope/vim-rhubarb', opt = true}
-        -- pwntester/octo.nvim
-
-        -- Easily Create Gists
-        -- use {'mattn/vim-gist', opt = true}
-        -- use {'mattn/webapi-vim', opt = true}
-    end
-
+    -- HTML preview
+    -- use {
+    --     'turbio/bracey.vim',
+    --     run = 'npm install --prefix server',
+    --     opt = true
+    -- }
+    -- folke/todo-comments.nvim
+    -- gennaro-tedesco/nvim-jqx
+    -- TimUntersberger/neogit
+    -- folke/lsp-colors.nvim
 end)