mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-28 05:57:45 +01:00
nvim: specified standard tab settings and made everything lua
This commit is contained in:
parent
928f9c7c27
commit
eed68ee265
@ -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"
|
||||
|
@ -73,6 +73,12 @@ vim.o.foldenable = true
|
||||
vim.o.conceallevel = 0
|
||||
vim.g.markdown_folding = 1
|
||||
|
||||
-- standard settings for colorcolumn and tabbing
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.softtabstop = 4
|
||||
vim.o.textwidth = 80
|
||||
vim.o.colorcolumn = "-0"
|
||||
|
||||
-- read files correctly
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user