Skip to content

Commit

Permalink
make option showcmd shown in statusline instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhao committed Dec 19, 2024
1 parent 5328c47 commit 1d66475
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lua/config/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,19 @@ require("lualine").setup {
source = diff,
},
{
ime_state,
color = { fg = "black", bg = "#f46868" },
"%S",
color = { gui = "bold", fg = "cyan" },
},
{
spell,
color = { fg = "black", bg = "#a7c080" },
},
},
lualine_x = {
{
ime_state,
color = { fg = "black", bg = "#f46868" },
},
{
get_active_lsp,
icon = " LSP:",
Expand Down
2 changes: 2 additions & 0 deletions viml_conf/options.vim
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,5 @@ set diffopt+=linematch:60

set nowrap " do no wrap
set noruler

set showcmdloc=statusline

0 comments on commit 1d66475

Please sign in to comment.