From df3391a4cfe9f12e6fabedb2a87a5319e4e145d6 Mon Sep 17 00:00:00 2001 From: dla Date: Thu, 12 Sep 2024 17:59:24 +0700 Subject: [PATCH] Add vim log highlight --- lua/custom/options.lua | 6 ++++++ lua/custom/plugins/init.lua | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 lua/custom/options.lua diff --git a/lua/custom/options.lua b/lua/custom/options.lua new file mode 100644 index 00000000..c12ba5c3 --- /dev/null +++ b/lua/custom/options.lua @@ -0,0 +1,6 @@ +vim.opt.tabstop = 4 -- Set tabstop to 4 spaces +vim.opt.shiftwidth = 4 -- Set shiftwidth to 4 spaces +vim.opt.smarttab = true -- Enable smarttab +vim.opt.expandtab = true -- Convert tabs to spaces +vim.opt.smartindent = true -- Enable smart indentation +vim.opt.autoindent = true -- Enable auto indentation diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index be0eb9d8..efdc1c68 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -2,4 +2,10 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information -return {} +return { + { + 'mtdl9/vim-log-highlighting', + opts = {}, + config = function() end, + }, +}