Added cpp to treesitter and ordered TS imports
This commit is contained in:
parent
5a1a819d34
commit
510ca59a6c
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -187,7 +187,7 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
|
||||||
-- See `:help nvim-treesitter`
|
-- See `:help nvim-treesitter`
|
||||||
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 = { 'lua', 'typescript', 'rust', 'go', 'python' },
|
ensure_installed = {'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript'},
|
||||||
|
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
|
|
Loading…
Reference in a new issue