vim

Log | Files | Refs

commit 18f3a68090857edce06f8f9b532b3b336df8961b
parent c72fd19497bf7ce0668dec11eadeb7821e342d02
Author: Chris Roberts <chris.roberts@learningunix.net>
Date:   Fri, 19 Jun 2026 10:49:08 -0500

added some files

Diffstat:
Mlua/core/options.lua | 9+++++++++
Mlua/plugins/ui.lua | 15++++++++++++++-
2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/lua/core/options.lua b/lua/core/options.lua @@ -35,6 +35,15 @@ opt.completeopt = "menu,menuone,noselect" opt.encoding = "utf-8" opt.fileencoding = "utf-8" +-- Disable smart indent for INI/cfg files +vim.api.nvim_create_autocmd("FileType", { + pattern = { "dosini", "cfg" }, + callback = function() + vim.opt_local.smartindent = false + vim.opt_local.autoindent = false + end, +}) + -- Python indentation (PEP 8) vim.api.nvim_create_autocmd("FileType", { pattern = "python", diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua @@ -13,7 +13,20 @@ return { { "nvim-lualine/lualine.nvim", dependencies = { "nvim-tree/nvim-web-devicons", "catppuccin/nvim" }, - opts = { options = { theme = "catppuccin" } }, + opts = { + options = { + theme = "catppuccin-mocha", + globalstatus = true, + }, + sections = { + lualine_a = { "mode" }, + lualine_b = { "branch", "diff", { "diagnostics", sources = { "nvim_diagnostic" } } }, + lualine_c = { { "filename", path = 1 } }, + lualine_x = { "encoding", "fileformat", "filetype" }, + lualine_y = { "progress" }, + lualine_z = { "location" }, + }, + }, }, -- File explorer