mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-14 13:03:49 +00:00
fix nvim-treesitter-textobjects install warning
This commit is contained in:
parent
34ed3f0d0c
commit
c8a1405778
6
init.lua
6
init.lua
@ -15,7 +15,7 @@ require('packer').startup(function(use)
|
|||||||
use { 'lewis6991/gitsigns.nvim', requires = { 'nvim-lua/plenary.nvim' } } -- Add git related info in the signs columns and popups
|
use { 'lewis6991/gitsigns.nvim', requires = { 'nvim-lua/plenary.nvim' } } -- Add git related info in the signs columns and popups
|
||||||
use 'numToStr/Comment.nvim' -- "gc" to comment visual regions/lines
|
use 'numToStr/Comment.nvim' -- "gc" to comment visual regions/lines
|
||||||
use 'nvim-treesitter/nvim-treesitter' -- Highlight, edit, and navigate code
|
use 'nvim-treesitter/nvim-treesitter' -- Highlight, edit, and navigate code
|
||||||
use 'nvim-treesitter/nvim-treesitter-textobjects' -- Additional textobjects for treesitter
|
use { 'nvim-treesitter/nvim-treesitter-textobjects', after = { 'nvim-treesitter' } } -- Additional textobjects for treesitter
|
||||||
use 'neovim/nvim-lspconfig' -- Collection of configurations for built-in LSP client
|
use 'neovim/nvim-lspconfig' -- Collection of configurations for built-in LSP client
|
||||||
use 'williamboman/mason.nvim' -- Manage external editor tooling i.e LSP servers
|
use 'williamboman/mason.nvim' -- Manage external editor tooling i.e LSP servers
|
||||||
use 'williamboman/mason-lspconfig.nvim' -- Automatically install language servers to stdpath
|
use 'williamboman/mason-lspconfig.nvim' -- Automatically install language servers to stdpath
|
||||||
@ -188,7 +188,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 = {'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript'},
|
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript' },
|
||||||
|
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
@ -345,7 +345,7 @@ require('lspconfig').sumneko_lua.setup {
|
|||||||
},
|
},
|
||||||
workspace = { library = vim.api.nvim_get_runtime_file('', true) },
|
workspace = { library = vim.api.nvim_get_runtime_file('', true) },
|
||||||
-- Do not send telemetry data containing a randomized but unique identifier
|
-- Do not send telemetry data containing a randomized but unique identifier
|
||||||
telemetry = { enable = false, },
|
telemetry = { enable = false },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user