adding additional plugins
This commit is contained in:
parent
66c760bf9a
commit
50a0ab51b6
|
@ -3,8 +3,7 @@
|
|||
-- Use your language server to automatically format your code on save.
|
||||
-- Adds additional commands as well to manage the behavior
|
||||
|
||||
return {
|
||||
'neovim/nvim-lspconfig',
|
||||
return { 'neovim/nvim-lspconfig',
|
||||
config = function()
|
||||
-- Switch for controlling whether you want autoformatting.
|
||||
-- Use :KickstartFormatToggle to toggle autoformatting on or off
|
||||
|
|
|
@ -7,10 +7,10 @@ return {
|
|||
build = ':TSUpdate',
|
||||
|
||||
config = function()
|
||||
-- [[ Configure Treesitter ]]
|
||||
-- See `:help nvim-treesitter`
|
||||
-- Defer Treesitter setup after first render to improve startup time of 'nvim {filename}'
|
||||
vim.defer_fn(function()
|
||||
-- [[ Configure Treesitter ]]
|
||||
-- See `:help nvim-treesitter`
|
||||
-- Defer Treesitter setup after first render to improve startup time of 'nvim {filename}'
|
||||
vim.defer_fn(function()
|
||||
require('nvim-treesitter.configs').setup {
|
||||
-- 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' },
|
||||
|
@ -79,8 +79,6 @@ vim.defer_fn(function()
|
|||
},
|
||||
},
|
||||
}
|
||||
end, 0)
|
||||
|
||||
|
||||
end, 0)
|
||||
end
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue