dotfiles
bugabingas dorkfiles
owned by bugabinga
neovim: fix after nightly update API changes
c11dd105c6b26a7bfe7864fe5658a0e5c984f365
Oliver Jan Krylow <olver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (4)
cargo/config.toml
Modified+2 / −5 text lines
55rustflags = [ "-C","target-cpu=native" ]rustflags = [ "-C","target-cpu=native" ] 89[profile.release][profile.release] 1413[target.x86_64-pc-windows-msvc][target.x86_64-pc-windows-msvc] 1817[target.x86_64-unknown-linux-gnu][target.x86_64-unknown-linux-gnu] 1918rustflags = [rustflags = [ 2019"-C", "link-arg=-fuse-ld=lld","-C", "link-arg=-fuse-ld=lld", neovim/lua/statusline.lua
Modified+2 / −1 text lines
1313local get_lsp_diagnostics_count = function()local get_lsp_diagnostics_count = function() 1414 local diagnostics_count = '' local diagnostics_count = '' 1515 for type, icon in pairs(lsp_symbols) do for type, icon in pairs(lsp_symbols) do 16- local count = vim.lsp.diagnostic.get_count(0, type) 17+ local count = #vim.diagnostic.get(0, {namespace = type}) 1718 local highlight = '%#LspDiagnosticsDefault' .. type .. '#' local highlight = '%#LspDiagnosticsDefault' .. type .. '#' 1819 local rendered_count = count > 0 and highlight .. icon .. ' ' .. count .. ' ' or '' local rendered_count = count > 0 and highlight .. icon .. ' ' .. count .. ' ' or '' 1920 diagnostics_count = diagnostics_count .. rendered_count diagnostics_count = diagnostics_count .. rendered_count topgrade/topgrade.linux.toml
Modified+1 / −1 text lines
3737"TLDR" = "tldr --update""TLDR" = "tldr --update" 40-"NeoVim Plugins" = "echo 'Updating Plugins (packer) in headless neovim instance.' ; nvim --headless -c 'autocmd User PackerCompile quitall' -c 'PluginsSync'" 40+"NeoVim Plugins" = "echo 'Updating Plugins (packer) in headless neovim instance.' ; nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PluginsSync'" 4343"Indexa Update" = "ix --update""Indexa Update" = "ix --update" wezterm/wezterm.lua
Modified+1 / −0 text lines
66 default_prog = {'nu'}, default_prog = {'nu'}, 77 window_decorations = 'RESIZE', window_decorations = 'RESIZE', 88 enable_tab_bar = true, enable_tab_bar = true, 9+ show_update_window = false, 910 hide_tab_bar_if_only_one_tab = true, hide_tab_bar_if_only_one_tab = true, 1011 tab_max_width = 24, tab_max_width = 24, 1112 window_padding = { window_padding = {