mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-10 19:41:15 +02:00
nvim: specified standard tab settings and made everything lua
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
vim.api.nvim_create_autocmd({ 'VimLeave' },
|
||||
{
|
||||
command = '!cclear'
|
||||
callback = function() os.execute('cclear') end
|
||||
})
|
||||
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.textwidth = 80
|
||||
vim.o.colorcolumn = "-0"
|
||||
|
@@ -1,4 +1,3 @@
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.textwidth = 100
|
||||
vim.o.colorcolumn = "-0"
|
||||
|
@@ -1,4 +1,3 @@
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.textwidth = 100
|
||||
vim.o.colorcolumn = "-0"
|
||||
|
@@ -1,4 +1,3 @@
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.textwidth = 100
|
||||
vim.o.colorcolumn = "-0"
|
||||
|
@@ -6,4 +6,3 @@ vim.api.nvim_create_autocmd({ 'BufEnter', 'FileType' },
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.textwidth = 100
|
||||
vim.o.colorcolumn = "-0"
|
||||
|
@@ -1,4 +0,0 @@
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.textwidth = 80
|
||||
vim.o.colorcolumn = "-0"
|
@@ -1,4 +0,0 @@
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.textwidth = 80
|
||||
vim.o.colorcolumn = "-0"
|
@@ -1,9 +1,7 @@
|
||||
vim.api.nvim_create_autocmd({ 'VimLeave' },
|
||||
{
|
||||
command = '!texclear %'
|
||||
callback = function() os.execute('texclear ' .. vim.fn.expand('%')) end
|
||||
})
|
||||
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.textwidth = 80
|
||||
vim.o.colorcolumn = "-0"
|
||||
|
Reference in New Issue
Block a user