mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-14 13:03:49 +00:00
Added cpp to treesitter and ordered TS imports
This commit is contained in:
parent
5a1a819d34
commit
510ca59a6c
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 New Issue
Block a user