adding additional plugins

This commit is contained in:
gregladden 2024-01-19 00:55:35 -06:00
parent 66c760bf9a
commit 50a0ab51b6
2 changed files with 81 additions and 84 deletions

View File

@ -3,8 +3,7 @@
-- Use your language server to automatically format your code on save. -- Use your language server to automatically format your code on save.
-- Adds additional commands as well to manage the behavior -- Adds additional commands as well to manage the behavior
return { return { 'neovim/nvim-lspconfig',
'neovim/nvim-lspconfig',
config = function() config = function()
-- Switch for controlling whether you want autoformatting. -- Switch for controlling whether you want autoformatting.
-- Use :KickstartFormatToggle to toggle autoformatting on or off -- Use :KickstartFormatToggle to toggle autoformatting on or off

View File

@ -7,10 +7,10 @@ return {
build = ':TSUpdate', build = ':TSUpdate',
config = function() config = function()
-- [[ Configure Treesitter ]] -- [[ Configure Treesitter ]]
-- See `:help nvim-treesitter` -- See `:help nvim-treesitter`
-- Defer Treesitter setup after first render to improve startup time of 'nvim {filename}' -- Defer Treesitter setup after first render to improve startup time of 'nvim {filename}'
vim.defer_fn(function() vim.defer_fn(function()
require('nvim-treesitter.configs').setup { require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter -- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash' }, ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash' },
@ -79,8 +79,6 @@ vim.defer_fn(function()
}, },
}, },
} }
end, 0) end, 0)
end end
} }