update nvim

This commit is contained in:
Zam Kokott
2026-06-05 10:51:12 +00:00
parent 52369a36f5
commit 5984d43664
5 changed files with 46 additions and 50 deletions

View File

@@ -3,9 +3,9 @@ return {
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
require('lualine').setup({
options = {
theme = 'catppuccin'
},
-- options = {
-- theme = 'catppuccin'
-- },
sections = {
lualine_x = {
function()

View File

@@ -1,7 +1,6 @@
return {
{
'nvim-telescope/telescope.nvim',
tag = '0.1.6',
dependencies = {
'nvim-lua/plenary.nvim',
'BurntSushi/ripgrep',

View File

@@ -1,25 +1,10 @@
return {
"nvim-treesitter/nvim-treesitter",
branch = "main",
lazy = false,
build = ":TSUpdate",
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = { "lua", "go", "zig", "markdown", "json", "yaml", "javascript",
"typescript", "bash", "python", "c_sharp", "cpp", "gleam", "svelte" },
indent = { enable = true },
sync_install = false,
highlight = { enable = true },
})
local treesitter_parser_config = require("nvim-treesitter.parsers").get_parser_configs()
treesitter_parser_config.templ = {
install_info = {
url = "https://github.com/vrischmann/tree-sitter-templ.git",
files = { "src/parser.c", "src/scanner.c" },
branch = "master",
},
}
vim.treesitter.language.register("templ", "templ")
local treesitter = require("nvim-treesitter")
treesitter.install({ "python", "go", "zig", "markdown", "json", "yaml", "javascript", "typescript", "bash", "python" })
end
}