mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-27 21:47:46 +01:00
nvim: update
This commit is contained in:
parent
708be20f37
commit
3870aa1afc
@ -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', '<leader>p', require("knap").toggle_autopreviewing, { noremap = true })
|
||||
|
@ -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"
|
||||
|
@ -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%",
|
||||
|
@ -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 = {},
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user