Compare commits
2 Commits
c3ab81018a
...
ded84fd5da
Author | SHA1 | Date | |
---|---|---|---|
ded84fd5da | |||
c2834033b0 |
8
init.lua
8
init.lua
@ -142,8 +142,12 @@ end
|
||||
-- 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', 'rust', 'go', 'lua', 'python', 'rust', 'typescript', 'help', 'vim' },
|
||||
|
||||
ensure_installed = { 'c', 'cpp', 'rust', 'go', 'lua', 'python', 'rust', 'typescript', 'tsx', 'help', 'vim', },
|
||||
autotag = {
|
||||
enable = true,
|
||||
enable_close = true,
|
||||
enable_close_on_slash = true,
|
||||
},
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true, disable = { 'python', 'c', 'cpp' } },
|
||||
incremental_selection = {
|
||||
|
@ -32,7 +32,7 @@ vim.wo.signcolumn = 'yes'
|
||||
|
||||
-- Set colorscheme
|
||||
vim.o.termguicolors = true
|
||||
vim.cmd [[colorscheme sonokai]]
|
||||
vim.cmd [[colorscheme onedark]]
|
||||
|
||||
-- Set completeopt to have a better completion experience
|
||||
vim.o.completeopt = 'menuone,noselect'
|
||||
|
@ -14,7 +14,7 @@ require('packer').startup({function(use)
|
||||
use {
|
||||
-- Useful status updates for LSP
|
||||
'j-hui/fidget.nvim',
|
||||
branch = 'legacy',
|
||||
-- branch = 'legacy',
|
||||
}
|
||||
|
||||
use { -- LSP Configuration & Plugins
|
||||
@ -42,6 +42,8 @@ require('packer').startup({function(use)
|
||||
end
|
||||
}
|
||||
|
||||
use "windwp/nvim-ts-autotag"
|
||||
|
||||
use {
|
||||
'phaazon/hop.nvim',
|
||||
branch = 'v2', -- optional but strongly recommended
|
||||
|
Loading…
x
Reference in New Issue
Block a user