diff --git a/.config/nvim/after/ftplugin/tex.lua b/.config/nvim/after/ftplugin/tex.lua index d36651f..0d77094 100644 --- a/.config/nvim/after/ftplugin/tex.lua +++ b/.config/nvim/after/ftplugin/tex.lua @@ -25,7 +25,7 @@ vim.api.nvim_create_autocmd({ 'VimLeave' }, vim.o.shiftwidth = 2 vim.o.softtabstop = 2 -vim.o.textwidth = 100 +vim.o.textwidth = 80 -- frabjous/knap vim.keymap.set('n', 'p', require("knap").toggle_autopreviewing, { noremap = true }) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 74a39b3..16896eb 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -1,4 +1,4 @@ -vim.o.go = "a" +-- vim.o.go = "a" vim.o.showmode = false -- disable netrw @@ -26,10 +26,10 @@ vim.o.ignorecase = true vim.o.smartcase = true -- enable nocompatible mode -vim.o.nocompatible = true +-- vim.o.nocompatible = true -- enable syntax highlighting -vim.o.syntax = true +vim.o.syntax = "true" -- enable true colors vim.o.termguicolors = true @@ -57,8 +57,8 @@ vim.o.breakindent = true vim.o.hidden = true -- disable backupfiles -vim.o.nobackup = true -vim.o.nowritebackup = true +-- vim.o.nobackup = true +-- vim.o.nowritebackup = true -- set completeopt to have a better completion experience vim.o.completeopt = "menuone,noselect" diff --git a/.config/nvim/lua/plugins/knap.lua b/.config/nvim/lua/plugins/knap.lua index 398b968..51efe5e 100644 --- a/.config/nvim/lua/plugins/knap.lua +++ b/.config/nvim/lua/plugins/knap.lua @@ -5,7 +5,7 @@ return { ft = { 'tex' }, config = function() vim.g.knap_settings = { - delay = 1000, + delay = 100, -- tex texoutputext = "pdf", textopdf = "pdflatex -synctex=1 -halt-on-error -interaction=batchmode %docroot%", diff --git a/.config/nvim/lua/plugins/nvim-treesitter.lua b/.config/nvim/lua/plugins/nvim-treesitter.lua index 646efee..3640b27 100644 --- a/.config/nvim/lua/plugins/nvim-treesitter.lua +++ b/.config/nvim/lua/plugins/nvim-treesitter.lua @@ -22,9 +22,9 @@ return { "lua", }, highlight = { enable = true }, - autotag = { enable = true }, + autotag = { enable = false }, rainbow = { - enable = true, + enable = false, extended_mode = true, max_file_lines = nil, -- colors = {}, diff --git a/.config/nvim/lua/plugins/spelunker.lua b/.config/nvim/lua/plugins/spelunker.lua index 2945f01..3e037fe 100644 --- a/.config/nvim/lua/plugins/spelunker.lua +++ b/.config/nvim/lua/plugins/spelunker.lua @@ -4,7 +4,7 @@ return { 'kamykn/spelunker.vim', dependencies = { 'kamykn/popup-menu.nvim' }, config = function() - vim.o.nospell = true + -- vim.o.nospell = true vim.g.enable_spelunker_vim = 0 vim.g.spelunker_disable_acronym_checking = 1 end