From 2d7fedba6cea96e334c204df393b95c4a93a8e0d Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 21 Jul 2022 21:22:21 +0700 Subject: [PATCH] chore(config): better tab for neovim --- data/nvim/init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/nvim/init.lua b/data/nvim/init.lua index 5919c1e..aad0dda 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -8,6 +8,11 @@ vim.opt.title = true vim.opt.virtualedit = "block" vim.opt.whichwrap = "<,>,[,]" +-- Tab +vim.opt.tabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true + -- Clipboard support vim.opt.clipboard:append({ "unnamedplus" }) @@ -69,7 +74,7 @@ require("packer").startup(function() use("cocopon/iceberg.vim") -- https://github.com/catppuccin/nvim - use({ "catppuccin/nvim", as = "catppuccin", run = "CatppuccinCompile" }) + use({ "catppuccin/nvim", as = "catppuccin", run = ":CatppuccinCompile" }) -- Programming languages -- https://github.com/sbdchd/neoformat