Updated shiftwidth
This commit is contained in:
@ -77,10 +77,10 @@ opt.termguicolors = true -- Enable 24-bit RGB colors
|
|||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- Tabs, indent
|
-- Tabs, indent
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
opt.expandtab = true -- Use spaces instead of tabs
|
g.expandtab = true -- Use spaces instead of tabs
|
||||||
opt.shiftwidth = 4 -- Shift 4 spaces when tab
|
g.shiftwidth = 2 -- Shift 4 spaces when tab
|
||||||
opt.tabstop = 2 -- 1 tab == 4 spaces
|
g.tabstop = 1 -- 1 tab == 4 spaces
|
||||||
opt.smartindent = true -- Autoindent new lines
|
g.smartindent = true -- Autoindent new lines
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- Glow Settings
|
-- Glow Settings
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
@ -99,7 +99,7 @@ vim.cmd [[
|
|||||||
]]
|
]]
|
||||||
vim.cmd [[ autocmd FileType python set textwidth=110 ]]
|
vim.cmd [[ autocmd FileType python set textwidth=110 ]]
|
||||||
vim.cmd [[ autocmd FileType lua set textwidth=80 ]]
|
vim.cmd [[ autocmd FileType lua set textwidth=80 ]]
|
||||||
vim.cmd [[ autocmd FileType markdown,text set textwidth=125 ]]
|
vim.cmd [[ autocmd FileType markdown,text set textwidth=125 shiftwidth=2 ]]
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
local disabled_built_ins = {
|
local disabled_built_ins = {
|
||||||
|
|||||||
@ -336,3 +336,4 @@ birdnet
|
|||||||
HomeAssistant
|
HomeAssistant
|
||||||
MQTT
|
MQTT
|
||||||
BirdNET
|
BirdNET
|
||||||
|
reseller
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user