Added Odin to nvim config.
This commit is contained in:
parent
80c5bd709d
commit
61417e64f5
2 changed files with 8 additions and 3 deletions
5
init.lua
5
init.lua
|
|
@ -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]])
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue