عکس amirrezaask
Simple statusline for neovim, all in lua, all the time :)Lua
موضوع‌ها
۰
فورک‌ها
۰
ستاره‌ها
۴
تاریخ ایجاد
۱۲ خرداد ۱۴۰۰
آخرین بروزرسانی
۱۰ ماه قبل

nline.nvim

Make neovim statusline in lua.

Usage

take a look at my personal statusline configuration statusline.lua

Parts

Vim

  • modified: function({hl: Highlight group})
  • readonly: function({hl: Highlight group})
  • space: function({hl: Highlight group})
  • pipe: function({hl: Highlight group})
  • line: function({hl: Highlight group})
  • col: function({hl: Highlight group})
  • percentage_of_file: function({hl: Highlight group})
  • filetype: function({hl: Highlight group})
  • seperator: function({hl: Highlight group})
  • colon: function({hl: Highlight group})
  • filename: function({shorten: boolean}) -> function({hl: Highlight group})
  • mode: function({ hls = { normal = 'NormalMode', visual = 'VisualMode', visual_block = 'VisualBlockMode', insert = 'InsertMode', insert_complete = 'InsertMode', command = 'CommandMode', terminal = 'TerminalMode' }, texts = { normal = 'Normal', visual = 'Visual', visual_block = 'VisualBlock', insert = 'Insert', insert_complete = 'IComplete', command = 'Command', terminal = 'Terminal' } })

Git

  • changes: { changed, insertions, deletions: 'Symbol or icon to use as prefix of changed' }
  • branch

LSP

  • progress
  • diagnostics
  • current_function

Dependencies