Setup for gdscript

This commit is contained in:
Tyler White 2025-03-04 11:25:40 -08:00
parent cd42033e37
commit 9c426574ed
1 changed files with 7 additions and 4 deletions

View File

@ -16,8 +16,8 @@ require("lazy").setup({
"neovim/nvim-lspconfig",
{ "nvim-telescope/telescope.nvim", dependencies = {"nvim-lua/plenary.nvim"} },
"windwp/nvim-autopairs",
"sheerun/vim-polyglot",
{"habamax/vim-godot", lazy=false },
{"sheerun/vim-polyglot", enabled=false},
{"habamax/vim-godot", enabled=false },
})
require('statusline')
--require('packer_init')
@ -36,7 +36,7 @@ vim.opt.smartindent = true
vim.opt.wrap = false
require('nvim-treesitter.configs').setup {
ensure_installed = { "c", "cpp", "lua", "go", "godot_resource", "odin", "python", "sql", "zig" },
ensure_installed = { "c", "cpp", "lua", "go", "gdscript", "godot_resource", "gdshader", "odin", "python", "sql", "zig" },
sync_install = false,
auto_install = false,
highlight = {
@ -67,6 +67,9 @@ require('nvim-treesitter.configs').setup {
require('nvim-autopairs').setup{}
require('telescope').setup{
defaults = {
file_ignore_patterns = {
"%.uid", "%.png", "%.gltf", "%.import", "%.glb"
},
},
pickers = {
find_files = {
@ -77,7 +80,7 @@ require('telescope').setup{
}
},
extensions = {
}
},
}
--local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
--parser_config.zimbu = {