copilot-updates and other tweaks #28
2 changed files with 14 additions and 3 deletions
2
init.lua
2
init.lua
|
@ -48,7 +48,7 @@ else
|
||||||
vim.o.breakindent = true
|
vim.o.breakindent = true
|
||||||
|
|
||||||
-- smart indenting
|
-- smart indenting
|
||||||
vim.o.smartindent = false
|
vim.o.smartindent = true
|
||||||
|
|
||||||
-- Save undo history
|
-- Save undo history
|
||||||
vim.o.undofile = true
|
vim.o.undofile = true
|
||||||
|
|
|
@ -4,7 +4,12 @@ return {
|
||||||
-- build = function()
|
-- build = function()
|
||||||
-- pcall(require("nvim-treesitter.install").update({ with_sync = true }))
|
-- pcall(require("nvim-treesitter.install").update({ with_sync = true }))
|
||||||
-- end,
|
-- end,
|
||||||
dependencies = { "nvim-treesitter/nvim-treesitter-textobjects", "nvim-treesitter/playground" },
|
dependencies = {
|
||||||
|
"nvim-treesitter/nvim-treesitter-context",
|
||||||
|
"nvim-treesitter/nvim-treesitter-refactor",
|
||||||
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||||
|
"nvim-treesitter/playground",
|
||||||
|
},
|
||||||
config = function()
|
config = function()
|
||||||
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
|
||||||
|
@ -58,7 +63,13 @@ return {
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
|
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
indent = {
|
||||||
|
enable = true,
|
||||||
|
disable = {
|
||||||
|
"python",
|
||||||
|
"css",
|
||||||
|
},
|
||||||
|
},
|
||||||
incremental_selection = {
|
incremental_selection = {
|
||||||
enable = true,
|
enable = true,
|
||||||
keymaps = {
|
keymaps = {
|
||||||
|
|
Loading…
Reference in a new issue