summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylor@classicalconversations.com>2024-01-30 11:29:13 -0500
committerJackson Taylor <jtaylor@classicalconversations.com>2024-01-30 11:29:13 -0500
commitc8eb5a222c94bb9c141df0f1686b77a1bb370ab3 (patch)
treebe331e7c0cf24950074bbf7a30e003144e282160
parent0c196909a3f3ef9388344ef88e1f0002aa445fd6 (diff)
Change formatting of comments in packer.lua
-rw-r--r--lua/jacksontaylorxyz/packer.lua27
1 files changed, 16 insertions, 11 deletions
diff --git a/lua/jacksontaylorxyz/packer.lua b/lua/jacksontaylorxyz/packer.lua
index 91d9ec5..8827ff2 100644
--- a/lua/jacksontaylorxyz/packer.lua
+++ b/lua/jacksontaylorxyz/packer.lua
@@ -88,8 +88,13 @@ return require('packer').startup(function(use)
-- Language supports
use 'SuneelFreimuth/vim-gemtext' -- Syntax support for gemini markdown
- use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}) -- Even better syntax highlighting
-
+ use { -- Better syntax highlighting
+ 'nvim-treesitter/nvim-treesitter',
+ run = function()
+ local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
+ ts_update()
+ end,
+ }
use { -- A super simple way to setup all the lsp stuff.
'VonHeikemen/lsp-zero.nvim',
branch = 'v1.x',
@@ -100,19 +105,19 @@ return require('packer').startup(function(use)
{'williamboman/mason-lspconfig.nvim'}, -- Optional -- Manages the connection between what's installed with mason and the lsp config
-- Autocompletion
- {'hrsh7th/nvim-cmp'}, -- Required -- Completion engine, gets what to complete from different sources (LSP for one)
- {'hrsh7th/cmp-nvim-lsp'}, -- Required
- {'hrsh7th/cmp-buffer'}, -- Optional
- {'hrsh7th/cmp-path'}, -- Optional
- {'saadparwaiz1/cmp_luasnip'}, -- Optional
- {'hrsh7th/cmp-nvim-lua'}, -- Optional
+ {'hrsh7th/nvim-cmp'}, -- Required -- Completion engine, gets what to complete from different sources (LSP for one)
+ {'hrsh7th/cmp-nvim-lsp'}, -- Required
+ {'hrsh7th/cmp-buffer'}, -- Optional
+ {'hrsh7th/cmp-path'}, -- Optional
+ {'saadparwaiz1/cmp_luasnip'}, -- Optional
+ {'hrsh7th/cmp-nvim-lua'}, -- Optional
-- Snippets
- {'L3MON4D3/LuaSnip'}, -- Required -- Snippet engine
- {'rafamadriz/friendly-snippets'}, -- Optional -- The actual snippets
+ {'L3MON4D3/LuaSnip'}, -- Required -- Snippet engine
+ {'rafamadriz/friendly-snippets'}, -- Optional -- The actual snippets
}
}
use {'fatih/vim-go', run = ':GoUpdateBinaries' } -- Nice Golang plugin
- use 'buoto/gotests-vim' -- Better Golang Testing
+ use 'buoto/gotests-vim' -- Better Golang Testing (generates tests for you)
end)