summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorSebastian Olsen <seppen.o@gmail.com>2022-09-24 13:22:45 +0200
committerTJ DeVries <devries.timothyj@gmail.com>2022-09-26 13:34:10 -0400
commitc8a140577832ed4f958f4964400b2591abea3825 (patch)
tree54a6639b8c4a415c6cb068f51c40fb0b2e1afbc0 /init.lua
parent34ed3f0d0c69fe21b8c618f2663353aaf2e42f1d (diff)
fix nvim-treesitter-textobjects install warning
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua36
1 files changed, 18 insertions, 18 deletions
diff --git a/init.lua b/init.lua
index 0cf3b45..856a4fb 100644
--- a/init.lua
+++ b/init.lua
@@ -9,22 +9,22 @@ end
-- stylua: ignore start
require('packer').startup(function(use)
- use 'wbthomason/packer.nvim' -- Package manager
- use 'tpope/vim-fugitive' -- Git commands in nvim
- use 'tpope/vim-rhubarb' -- Fugitive-companion to interact with github
- 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 'nvim-treesitter/nvim-treesitter' -- Highlight, edit, and navigate code
- use 'nvim-treesitter/nvim-treesitter-textobjects' -- Additional textobjects for treesitter
- 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-lspconfig.nvim' -- Automatically install language servers to stdpath
- use { 'hrsh7th/nvim-cmp', requires = { 'hrsh7th/cmp-nvim-lsp' } } -- Autocompletion
- use { 'L3MON4D3/LuaSnip', requires = { 'saadparwaiz1/cmp_luasnip' } } -- Snippet Engine and Snippet Expansion
- use 'mjlbach/onedark.nvim' -- Theme inspired by Atom
- use 'nvim-lualine/lualine.nvim' -- Fancier statusline
- use 'lukas-reineke/indent-blankline.nvim' -- Add indentation guides even on blank lines
- use 'tpope/vim-sleuth' -- Detect tabstop and shiftwidth automatically
+ use 'wbthomason/packer.nvim' -- Package manager
+ use 'tpope/vim-fugitive' -- Git commands in nvim
+ use 'tpope/vim-rhubarb' -- Fugitive-companion to interact with github
+ 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 'nvim-treesitter/nvim-treesitter' -- Highlight, edit, and navigate code
+ 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 'williamboman/mason.nvim' -- Manage external editor tooling i.e LSP servers
+ use 'williamboman/mason-lspconfig.nvim' -- Automatically install language servers to stdpath
+ use { 'hrsh7th/nvim-cmp', requires = { 'hrsh7th/cmp-nvim-lsp' } } -- Autocompletion
+ use { 'L3MON4D3/LuaSnip', requires = { 'saadparwaiz1/cmp_luasnip' } } -- Snippet Engine and Snippet Expansion
+ use 'mjlbach/onedark.nvim' -- Theme inspired by Atom
+ use 'nvim-lualine/lualine.nvim' -- Fancier statusline
+ use 'lukas-reineke/indent-blankline.nvim' -- Add indentation guides even on blank lines
+ use 'tpope/vim-sleuth' -- Detect tabstop and shiftwidth automatically
-- Fuzzy Finder (files, lsp, etc)
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
-- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup {
-- 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 },
indent = { enable = true },
@@ -345,7 +345,7 @@ require('lspconfig').sumneko_lua.setup {
},
workspace = { library = vim.api.nvim_get_runtime_file('', true) },
-- Do not send telemetry data containing a randomized but unique identifier
- telemetry = { enable = false, },
+ telemetry = { enable = false },
},
},
}