Skip to content

Commit c8a1405

Browse files
NWVitjdevries
authored andcommitted
fix nvim-treesitter-textobjects install warning
1 parent 34ed3f0 commit c8a1405

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

init.lua

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ end
99

1010
-- stylua: ignore start
1111
require('packer').startup(function(use)
12-
use 'wbthomason/packer.nvim' -- Package manager
13-
use 'tpope/vim-fugitive' -- Git commands in nvim
14-
use 'tpope/vim-rhubarb' -- Fugitive-companion to interact with github
15-
use { 'lewis6991/gitsigns.nvim', requires = { 'nvim-lua/plenary.nvim' } } -- Add git related info in the signs columns and popups
16-
use 'numToStr/Comment.nvim' -- "gc" to comment visual regions/lines
17-
use 'nvim-treesitter/nvim-treesitter' -- Highlight, edit, and navigate code
18-
use 'nvim-treesitter/nvim-treesitter-textobjects' -- Additional textobjects for treesitter
19-
use 'neovim/nvim-lspconfig' -- Collection of configurations for built-in LSP client
20-
use 'williamboman/mason.nvim' -- Manage external editor tooling i.e LSP servers
21-
use 'williamboman/mason-lspconfig.nvim' -- Automatically install language servers to stdpath
22-
use { 'hrsh7th/nvim-cmp', requires = { 'hrsh7th/cmp-nvim-lsp' } } -- Autocompletion
23-
use { 'L3MON4D3/LuaSnip', requires = { 'saadparwaiz1/cmp_luasnip' } } -- Snippet Engine and Snippet Expansion
24-
use 'mjlbach/onedark.nvim' -- Theme inspired by Atom
25-
use 'nvim-lualine/lualine.nvim' -- Fancier statusline
26-
use 'lukas-reineke/indent-blankline.nvim' -- Add indentation guides even on blank lines
27-
use 'tpope/vim-sleuth' -- Detect tabstop and shiftwidth automatically
12+
use 'wbthomason/packer.nvim' -- Package manager
13+
use 'tpope/vim-fugitive' -- Git commands in nvim
14+
use 'tpope/vim-rhubarb' -- Fugitive-companion to interact with github
15+
use { 'lewis6991/gitsigns.nvim', requires = { 'nvim-lua/plenary.nvim' } } -- Add git related info in the signs columns and popups
16+
use 'numToStr/Comment.nvim' -- "gc" to comment visual regions/lines
17+
use 'nvim-treesitter/nvim-treesitter' -- Highlight, edit, and navigate code
18+
use { 'nvim-treesitter/nvim-treesitter-textobjects', after = { 'nvim-treesitter' } } -- Additional textobjects for treesitter
19+
use 'neovim/nvim-lspconfig' -- Collection of configurations for built-in LSP client
20+
use 'williamboman/mason.nvim' -- Manage external editor tooling i.e LSP servers
21+
use 'williamboman/mason-lspconfig.nvim' -- Automatically install language servers to stdpath
22+
use { 'hrsh7th/nvim-cmp', requires = { 'hrsh7th/cmp-nvim-lsp' } } -- Autocompletion
23+
use { 'L3MON4D3/LuaSnip', requires = { 'saadparwaiz1/cmp_luasnip' } } -- Snippet Engine and Snippet Expansion
24+
use 'mjlbach/onedark.nvim' -- Theme inspired by Atom
25+
use 'nvim-lualine/lualine.nvim' -- Fancier statusline
26+
use 'lukas-reineke/indent-blankline.nvim' -- Add indentation guides even on blank lines
27+
use 'tpope/vim-sleuth' -- Detect tabstop and shiftwidth automatically
2828

2929
-- Fuzzy Finder (files, lsp, etc)
3030
use { 'nvim-telescope/telescope.nvim', branch = '0.1.x', requires = { 'nvim-lua/plenary.nvim' } }
@@ -188,7 +188,7 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
188188
-- See `:help nvim-treesitter`
189189
require('nvim-treesitter.configs').setup {
190190
-- Add languages to be installed here that you want installed for treesitter
191-
ensure_installed = {'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript'},
191+
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript' },
192192

193193
highlight = { enable = true },
194194
indent = { enable = true },
@@ -345,7 +345,7 @@ require('lspconfig').sumneko_lua.setup {
345345
},
346346
workspace = { library = vim.api.nvim_get_runtime_file('', true) },
347347
-- Do not send telemetry data containing a randomized but unique identifier
348-
telemetry = { enable = false, },
348+
telemetry = { enable = false },
349349
},
350350
},
351351
}

0 commit comments

Comments
 (0)