remove tree-sitter/rust stuff

This commit is contained in:
2026-06-14 20:15:10 +02:00
parent 882586caf4
commit e9536bfb50
2 changed files with 1 additions and 34 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ require( "roka.core.plugins" )
require( "roka.plug.color" )
require( "roka.plug.mason" )
require( "roka.plug.rust-tools" )
--require( "roka.plug.rust-tools" )
-33
View File
@@ -156,39 +156,6 @@ return packer.startup(function(use)
"rafamadriz/friendly-snippets", -- Optional
}
-- --------------------------------------------------------------
-- treesitter
-- --------------------------------------------------------------
use {
"nvim-treesitter/nvim-treesitter",
run = function()
local ts_update = require('nvim-treesitter.install').update({ with_sync = true})
ts_update()
end,
build = ":TSUpdate",
config = function()
require'nvim-treesitter.configs'.setup {
ensure_installed = {"c", "lua", "vim", "vimdoc", "query", "markdown", "markdown_inline", "rust"},
auto_install = false,
highlight = {
enable = true,
disable= function( lang, buf)
local max_filesize = 100 * 1024
local ok, stats = pcall( vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
if ok and stats and stats.size > max_filesize then
return true
end
end,
additional_vim_regex_highlighting = false,
},
}
end,
}
-- -------------------------------------------------------------------
-- Automatically set up your configuration after cloning packer.nvim.
-- Put this at the end after all plugins.