neovim configuration using rocks.nvim plugin manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(ui): add modified mark in statusline

+3 -4
+3 -4
lua/core/ui/statusline.lua
··· 33 33 end 34 34 35 35 local function tab_size() 36 - local tabsize = vim.bo.tabstop 36 + local tabstop = vim.bo.tabstop 37 37 -- local sts = vim.bo.softtabstop 38 38 -- if sts < 0 then 39 39 -- tabsize = vim.bo.shiftwidth ··· 42 42 -- end 43 43 -- if vim.bo.expandtab then 44 44 -- end 45 - return "[ts:" .. tabsize .. "]" 45 + return "[ts:" .. tabstop .. "]" 46 46 end 47 - local _ = vim.lsp.tagfunc 48 47 49 48 function _G.statusline() 50 49 return table.concat({ 51 50 filename(), 52 - "%h%w%r", 51 + "%h%w%m%r", 53 52 "%=", 54 53 tab_size(), 55 54 lsp_status(),