mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-31 00:17:46 +02: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.shiftwidth = 2
|
||||||
vim.o.softtabstop = 2
|
vim.o.softtabstop = 2
|
||||||
vim.o.textwidth = 100
|
vim.o.textwidth = 80
|
||||||
|
|
||||||
-- frabjous/knap
|
-- frabjous/knap
|
||||||
vim.keymap.set('n', '<leader>p', require("knap").toggle_autopreviewing, { noremap = true })
|
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
|
vim.o.showmode = false
|
||||||
|
|
||||||
-- disable netrw
|
-- disable netrw
|
||||||
@ -26,10 +26,10 @@ vim.o.ignorecase = true
|
|||||||
vim.o.smartcase = true
|
vim.o.smartcase = true
|
||||||
|
|
||||||
-- enable nocompatible mode
|
-- enable nocompatible mode
|
||||||
vim.o.nocompatible = true
|
-- vim.o.nocompatible = true
|
||||||
|
|
||||||
-- enable syntax highlighting
|
-- enable syntax highlighting
|
||||||
vim.o.syntax = true
|
vim.o.syntax = "true"
|
||||||
|
|
||||||
-- enable true colors
|
-- enable true colors
|
||||||
vim.o.termguicolors = true
|
vim.o.termguicolors = true
|
||||||
@ -57,8 +57,8 @@ vim.o.breakindent = true
|
|||||||
vim.o.hidden = true
|
vim.o.hidden = true
|
||||||
|
|
||||||
-- disable backupfiles
|
-- disable backupfiles
|
||||||
vim.o.nobackup = true
|
-- vim.o.nobackup = true
|
||||||
vim.o.nowritebackup = true
|
-- vim.o.nowritebackup = true
|
||||||
|
|
||||||
-- set completeopt to have a better completion experience
|
-- set completeopt to have a better completion experience
|
||||||
vim.o.completeopt = "menuone,noselect"
|
vim.o.completeopt = "menuone,noselect"
|
||||||
|
@ -5,7 +5,7 @@ return {
|
|||||||
ft = { 'tex' },
|
ft = { 'tex' },
|
||||||
config = function()
|
config = function()
|
||||||
vim.g.knap_settings = {
|
vim.g.knap_settings = {
|
||||||
delay = 1000,
|
delay = 100,
|
||||||
-- tex
|
-- tex
|
||||||
texoutputext = "pdf",
|
texoutputext = "pdf",
|
||||||
textopdf = "pdflatex -synctex=1 -halt-on-error -interaction=batchmode %docroot%",
|
textopdf = "pdflatex -synctex=1 -halt-on-error -interaction=batchmode %docroot%",
|
||||||
|
@ -22,9 +22,9 @@ return {
|
|||||||
"lua",
|
"lua",
|
||||||
},
|
},
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
autotag = { enable = true },
|
autotag = { enable = false },
|
||||||
rainbow = {
|
rainbow = {
|
||||||
enable = true,
|
enable = false,
|
||||||
extended_mode = true,
|
extended_mode = true,
|
||||||
max_file_lines = nil,
|
max_file_lines = nil,
|
||||||
-- colors = {},
|
-- colors = {},
|
||||||
|
@ -4,7 +4,7 @@ return {
|
|||||||
'kamykn/spelunker.vim',
|
'kamykn/spelunker.vim',
|
||||||
dependencies = { 'kamykn/popup-menu.nvim' },
|
dependencies = { 'kamykn/popup-menu.nvim' },
|
||||||
config = function()
|
config = function()
|
||||||
vim.o.nospell = true
|
-- vim.o.nospell = true
|
||||||
vim.g.enable_spelunker_vim = 0
|
vim.g.enable_spelunker_vim = 0
|
||||||
vim.g.spelunker_disable_acronym_checking = 1
|
vim.g.spelunker_disable_acronym_checking = 1
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user