chore(config): comment for nvim config

main
sudo pacman -Syu 2022-05-27 14:09:59 +07:00
parent ef6b98f174
commit dd0e8be848
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,6 @@ vim.opt.completeopt = { "menuone", "noinsert", "noselect" }
vim.opt.number = true vim.opt.number = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.opt.scrolloff = 4 vim.opt.scrolloff = 4
vim.opt.showmode = false
vim.opt.swapfile = false vim.opt.swapfile = false
vim.opt.virtualedit = "block" vim.opt.virtualedit = "block"
vim.opt.whichwrap = "<,>,[,]" vim.opt.whichwrap = "<,>,[,]"
@ -65,6 +64,9 @@ require("packer").startup(function()
use("fatih/vim-go") use("fatih/vim-go")
end) end)
-- Disable showmode when use lualine
vim.opt.showmode = false
local lualine_theme = require("lualine.themes.iceberg") local lualine_theme = require("lualine.themes.iceberg")
if vim.fn.getenv("COLORTERM") == "truecolor" then if vim.fn.getenv("COLORTERM") == "truecolor" then
lualine_theme = require("lualine.themes.catppuccin") lualine_theme = require("lualine.themes.catppuccin")