Added Odin to nvim config.

This commit is contained in:
rocketdebris 2024-10-03 21:13:22 -04:00
parent 80c5bd709d
commit 61417e64f5
2 changed files with 8 additions and 3 deletions

View file

@ -18,7 +18,10 @@ require("mason-lspconfig").setup()
-- My user settings:
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.tabstop = 8
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
--vim.opt.expandtab = true
vim.opt.autoindent = true
vim.opt.foldmethod = "indent"
vim.opt.foldenable = false
vim.cmd([[colorscheme everforest]])

View file

@ -5,10 +5,12 @@ return {{
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "python", "html" },
ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "python", "html", "gdscript", "odin" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
indent = { enable = true, }, --disable = { "gdscript"} },
autoindent = {enable = true, },
})
end
}}