Commit graph

148 commits

Author SHA1 Message Date
cdfa4fe2d8 Temporarily disable inlay hints during debugging, fix so virtual text
gets cleared after debugging finishes.
2025-01-12 13:34:27 +01:00
f2e27f7a59 Change nvim_get_hl_by_name -> nvim_get_hl in leap 2025-01-12 00:36:00 +01:00
e441664ceb Change dapui to only display watches and stacks elements. Also hide
icons.
2025-01-12 00:26:43 +01:00
472208ea95 Setup debug adapters for codelldb, debugpy and gopls. Also remove
nvim-dap-profiles :( Apparently there is a way to do the same thing
using launch.json built into dap, much better than my solution.
2025-01-11 19:08:40 +01:00
b7796e9a5e small refactor to lsp.lua (lsp/setup.lua), rename lsp/language_servers
-> lsp/servers. utils now has a function for "get_file_names_in_dir"
2025-01-11 18:01:15 +01:00
e3f9039667 Convert yank highlight to full lua api, remove old vim script. Add
comment for lsp
2025-01-11 13:17:28 +01:00
7fa8779c8e Re-add "hjkl" navigation, change leap to m, marks are set with <leader>m
instead.
2025-01-11 13:11:52 +01:00
2d8ed1f049 Remove outcommented catppuccin theme in lspsaga 2025-01-11 01:02:12 +01:00
7e4f69c48f Major lsp overhaul. Use new 0.11+ apis, remove lspconfig, remove lots of
mason/lspconfig util plugins. Currently supports following lsps: gopls,
clangd, lua-language-server, cmake-language-server
2025-01-11 00:58:02 +01:00
c2b6c481e4 Fix types hl group for rust 2025-01-11 00:57:38 +01:00
cd58f818fa Remove trouble, never used it 2025-01-11 00:57:19 +01:00
4d939677c5 Remove Undotree, never used it 2025-01-11 00:57:11 +01:00
c5ab57456d Small refactor to terminal 2025-01-11 00:56:55 +01:00
d06e61dcba add utils: xpcallmsg, validate bufnr, foreach 2025-01-11 00:55:54 +01:00
557826f23a Remove keybind for saving, use :w instead. Fix so copy command is silent 2025-01-11 00:54:54 +01:00
88ac5cb9f0 Set bg to none instead of same as terminal. This works better with transparent terminals. 2025-01-10 01:05:48 +01:00
477f60b966 Sync ghostty and nvim backgrounds, add transparency support to colorscheme in nvim 2025-01-09 19:53:34 +01:00
b35f38ef87 Remove reactive 2025-01-09 17:11:51 +01:00
dba9e41f57 Fix so fzf lua (treesitter) doesn't hang the entire terminal window when previewing large minified files 2025-01-09 17:11:36 +01:00
0ef0551a30 Remove autopairs in nvim 2025-01-09 17:11:09 +01:00
e100b9cf57 Switch from catppuccin to a custom version of ayu mirage in neovim 2025-01-09 17:10:29 +01:00
d5890ba649 Add bold local variables for C++ 2025-01-02 18:48:28 +01:00
6b03a3eac1 Add priority to tiny-inline-diagnostics 2025-01-02 11:46:26 +01:00
a05c7ef81c Remove different highlighting for edgetools, also, remove trouble symbols window 2025-01-02 10:55:42 +01:00
ca811aa81c Remove deprecated or changed config variables from blink 2025-01-02 10:13:10 +01:00
ab0eabae78 Add the ability to merge custom LSP conf with default rather than overrule, additionally, add dap-go 2025-01-02 10:09:38 +01:00
ff88938803 Remove oil.nvim plugin, relying on Yazi for file management going forward 2025-01-02 10:08:25 +01:00
93fbf36a26 Add go and zig to treesitter 2025-01-02 10:06:38 +01:00
e98ebae8ee Add working inlayhints for go 2025-01-02 10:03:46 +01:00
Martin Larsson
0ac609f98e Add workplace symbols search to fzf 2024-11-25 11:25:32 +01:00
Martin Larsson
f2c43242f5 Add buffer commit history to fzf <leader>tg. 2024-11-21 22:32:27 +01:00
Martin Larsson
edeeb04e6f separate serialized arrow data by git branch. 2024-11-19 00:53:13 +01:00
64bdd18769 Merge branch 'main' of github.com:LarssonMartin1998/.dotfiles 2024-11-14 22:19:01 +01:00
009e95c2f6 Make sure copilot right arrow doesnt consume right arrow input in insert
mode when there is nothing suggested
2024-11-14 22:17:25 +01:00
Martin Larsson
5d22761014 Update blink config so super-tab works. Also add LSP capabilities for
blink for more suggestions.
2024-11-14 17:03:34 +01:00
Martin Larsson
eb34dcec65 Remove all usages of nvim-cmp in favor of blink 2024-11-03 02:17:23 +01:00
Martin Larsson
dfbb5c8834 oil.nvim now uses filewatch to update buffer content from fs changes,
additionally, now also save the prev directory state so it persists when
oil is closed and reopened
2024-11-03 02:14:14 +01:00
Martin Larsson
8263b02c70 Add silent option to a lot of keymaps to hide command display. 2024-10-30 17:47:29 +01:00
Martin Larsson
23ed2e9964 Light refactoring to mason/lsp setup, also add support to zig, ocaml,
and go.
2024-10-30 17:46:54 +01:00
Martin Larsson
ee7ce096c8 Update rusteaceanvim to major version 5 2024-10-30 17:46:28 +01:00
Martin Larsson
9b9424ac05 Change keybindings for copilot to better match cmd workflow (completion
on tab and acceping auto complete on right arrow)
2024-10-30 17:45:36 +01:00
Martin Larsson
7c54faf521 Fix incorrect binding for jumping between diagnostics in Lspsaga 2024-10-30 17:02:38 +01:00
Martin Larsson
6c605b47c2 Add tiny inline diagnostics and fix $TERM in tmux and alacritty to
alacritty instead of xterm-256color
2024-10-24 19:09:31 +02:00
Martin Larsson
8744c577ae Fix so clang receives the congifured parameters correctly. 2024-10-24 19:07:12 +02:00
Martin Larsson
c8566d89f0 Add tiny-inline-diagnostics plugin 2024-10-20 03:41:38 +02:00
Martin Larsson
beddd50e98 Remove deprecated config key hererrocks in lazy_init.lua and inrease
timeout to 300sec since toml++ and sol2 takes minutes to compile.
2024-10-20 03:41:03 +02:00
Martin Larsson
1e18e2d419 Change to blink over cmp, improve mason so that we don't need configs
for each language server. We only override the set keys in the custom
    lsp config if it exists, otherwise we rely on the default one from
    lspconfig.
2024-10-20 03:40:10 +02:00
Martin Larsson
21e6ce3181 auto-show-console - false was used as a workaround for an error which
was thrown in some large repos where the git command took a long time to
run. This has been fixed by the author of the plugin so I no longer need
it.
2024-10-09 15:37:44 +02:00
Martin Larsson
006ac8ce9c Use main branch of dap profiles and remove dev stuff 2024-10-09 00:42:54 +02:00
Martin Larsson
39d74b5d84 Add muttrc as parser to treesitter 2024-10-08 01:22:14 +02:00