diff --git a/init.lua b/init.lua index b6ce6eb..bb64597 100644 --- a/init.lua +++ b/init.lua @@ -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" ) diff --git a/lua/roka/core/plugins.lua b/lua/roka/core/plugins.lua index a94cd1c..8783658 100644 --- a/lua/roka/core/plugins.lua +++ b/lua/roka/core/plugins.lua @@ -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.