repositories / dotfiles

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)

+6 / −7 text lines

Diff layout

cargo/config.toml

Modified

+2 / −5 text lines

55rustflags = [ "-C","target-cpu=native" ]
77# let's have some fun with "omgz performance rice dat cake"
8# aaand we get out of memory errors when building nu...
89[profile.release]
910# link time optimization is slow, but allows inter-crate analysis
10# similarly, crates get split into chunks while compiling in order to maximize throughput
11# but we don't care about compile wall time here, only RAWR PERFF
12# less chunks affors more opportunity for optimiziations
11# lto = "fat"
1413[target.x86_64-pc-windows-msvc]
1514# apparently, the LLVM linker is faster than others...
1817[target.x86_64-unknown-linux-gnu]
1918rustflags = [
2019"-C", "link-arg=-fuse-ld=lld",
21# "-C", "gcc-ld=lld",
22# "-C", "linker=clang",

neovim/lua/statusline.lua

Modified

+2 / −1 text lines

1313local get_lsp_diagnostics_count = function()
1414 local diagnostics_count = ''
1515 for type, icon in pairs(lsp_symbols) do
16 local count = vim.lsp.diagnostic.get_count(0, type)
16 --FIXME: since get_count was depracted, this code is wrong now...
17 local count = #vim.diagnostic.get(0, {namespace = type})
1718 local highlight = '%#LspDiagnosticsDefault' .. type .. '#'
1819 local rendered_count = count > 0 and highlight .. icon .. ' ' .. count .. ' ' or ''
1920 diagnostics_count = diagnostics_count .. rendered_count

topgrade/topgrade.linux.toml

Modified

+1 / −1 text lines

3737"TLDR" = "tldr --update"
3939# Update NeoVim-Plugins
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'"
4242# Dateisystem-Indexer ix erfrischen
4343"Indexa Update" = "ix --update"

wezterm/wezterm.lua

Modified

+1 / −0 text lines

66 default_prog = {'nu'},
77 window_decorations = 'RESIZE',
88 enable_tab_bar = true,
9 show_update_window = false,
910 hide_tab_bar_if_only_one_tab = true,
1011 tab_max_width = 24,
1112 window_padding = {