summaryrefslogtreecommitdiff
path: root/home/neovim
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-01-05 16:13:41 -0500
committerFreya Murphy <freya@freyacat.org>2026-01-05 16:13:41 -0500
commit730872218425ae9547ee188c00d3ac282c76e697 (patch)
tree226897d6481d5fc8f72b423f245fda342cfafeb0 /home/neovim
parentrofiiiiiiii (diff)
downloaddotfiles-nix-730872218425ae9547ee188c00d3ac282c76e697.tar.gz
dotfiles-nix-730872218425ae9547ee188c00d3ac282c76e697.tar.bz2
dotfiles-nix-730872218425ae9547ee188c00d3ac282c76e697.zip
update commits
Diffstat (limited to 'home/neovim')
-rw-r--r--home/neovim/init.lua17
1 files changed, 4 insertions, 13 deletions
diff --git a/home/neovim/init.lua b/home/neovim/init.lua
index a97feb4..e66e523 100644
--- a/home/neovim/init.lua
+++ b/home/neovim/init.lua
@@ -291,19 +291,10 @@ require('nvim-surround').setup {}
--[[ SYNTAX HIGHLIGHTING ]]--
-require('nvim-treesitter.configs').setup {
- highlight = {
- enable = true,
- disable = function(lang, buf)
- local max_filesize = config.highlight.max_size * 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 = true,
- },
-}
+vim.api.nvim_create_autocmd('FileType', {
+ pattern = { '<filetype>' },
+ callback = function() vim.treesitter.start() end,
+})
require('illuminate').configure {
providers = {