chore(config): comment for nvim config
parent
ef6b98f174
commit
dd0e8be848
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue