Added cpp to treesitter and ordered TS imports

This commit is contained in:
Ash 2022-09-01 17:38:11 +01:00 committed by TJ DeVries
parent 5a1a819d34
commit 510ca59a6c

View File

@ -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 },