summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAsh <ashisbitt@icloud.com>2022-09-01 17:38:11 +0100
committerTJ DeVries <devries.timothyj@gmail.com>2022-09-14 14:56:31 -0400
commit510ca59a6c2307283ecf27699cc3a3cdadf50260 (patch)
tree4c2aed6a51496a3b0dda28184ae38434177a5406 /init.lua
parent5a1a819d34364e9c6458c53191eeb8c3567437b7 (diff)
Added cpp to treesitter and ordered TS imports
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 2cbb474..85aafad 100644
--- a/init.lua
+++ b/init.lua
@@ -187,7 +187,7 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
-- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup {
-- 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 },
indent = { enable = true },