No description
Find a file
Sanchayan Maity 4d970ce70c nvim: lsp: Fix error in LspDetach
Some language servers like HLS take longer to attach and if we exit
soon before LSP attach had a chance to finish (may be?), server
capabilities field does not seem to be valid in client object and
we get the below error. Check if it valid first.

Error detected while processing LspDetach Autocommands for "*":
Error executing lua callback: /home/core/.config/nvim/lua/lsp.lua:215: attempt to index field 'server_capabilities' (a nil value)
stack traceback:
        /home/core/.config/nvim/lua/lsp.lua:215: in function </home/core/.config/nvim/lua/lsp.lua:209>
        [C]: in function 'nvim_exec_autocmds'
        /usr/local/share/nvim/runtime/lua/vim/lsp.lua:1140: in function </usr/local/share/nvim/runtime/lua/vim/lsp.lua:1139>
Error executing lua callback: /home/core/.config/nvim/lua/lsp.lua:215: attempt to index field 'server_capabilities' (a nil value)
stack traceback:
        /home/core/.config/nvim/lua/lsp.lua:215: in function </home/core/.config/nvim/lua/lsp.lua:209>
        [C]: in function 'nvim_exec_autocmds'
        /usr/local/share/nvim/runtime/lua/vim/lsp.lua:1140: in function </usr/local/share/nvim/runtime/lua/vim/lsp.lua:1139>
2022-11-29 20:26:28 +05:30
alacritty/.config/alacritty alacritty: Update configuration 2022-04-05 17:41:49 +05:30
arch-packages arch-packages: Update package list 2022-11-29 20:26:28 +05:30
chrome/.config chrome/chromium: Update flags 2022-09-20 17:41:49 +05:30
chromium/.config chrome/chromium: Update flags 2022-09-20 17:41:49 +05:30
dunst/.config/dunst dunst: Add a configuration for dunst 2021-02-13 12:05:34 +05:30
dwm dwm: Add scrot script and config we use for dwm 2020-10-30 16:37:06 +05:30
emacs/.config/doom Switch back to JetBrains Mono 2021-12-28 19:23:18 +05:30
environment/.config/environment.d environment: qt: Allow both Wayland and X for Qt 2022-11-04 09:54:55 +05:30
fish/.config/fish fish: functions: Add helper to list library dependencies 2022-11-07 16:26:23 +05:30
flake8/.config Add a basic flake8 configuration 2021-12-06 10:28:30 +05:30
fontconfig/.config/fontconfig Switch back to JetBrains Mono 2021-12-28 19:23:18 +05:30
foot/.config/foot foot: Do not hide mouse when typing 2022-05-01 11:39:55 +05:30
gdb/.gdbinit.d gdb: Add our scripts directory to auto load path 2022-04-03 12:28:14 +05:30
git tut: Add configuration for tut Mastodon TUI client 2022-11-29 20:26:28 +05:30
gnupg/.gnupg gnupg: Use pinentry-gtk-2 2021-03-13 17:27:28 +05:30
htop/.config/htop Add htop configuration 2022-02-01 12:44:00 +05:30
i3/.i3 i3: Clean up configuration 2021-10-22 15:43:57 +05:30
i3status/.config/i3status i3status: Update configuration 2021-01-01 13:44:45 +05:30
i3status-rust/.config/i3status-rust i3status-rust: Fix memory block 2022-10-17 15:29:58 +05:30
imapfilter/.imapfilter imapfilter: Filter mails from IETF mailing list 2022-11-16 15:05:37 +05:30
kanshi/.config/kanshi kanshi: Fix profile configuration 2020-11-14 19:28:00 +05:30
kitty/.config/kitty kitty: Allow borders to be distinguished easily 2022-02-10 21:31:57 +05:30
lazygit/.config/lazygit lazygit: Fix diff colors 2021-01-28 11:37:08 +05:30
locale/.config locale: Switch to en_GB 2022-09-12 09:31:01 +05:30
mako/.config/mako Switch back to JetBrains Mono 2021-12-28 19:23:18 +05:30
mbsync mbsync: Master slave terminology has been deprecated 2021-03-13 17:22:12 +05:30
mimeapps/.config mimeapps: Add mimeapp list for default applications 2022-05-03 17:02:41 +05:30
mpd/.config/mpd mpd: Add initial configuration for mpd 2020-11-13 11:30:58 +05:30
mpDris2/.config/mpDris2 mpDris2: Add a configuration for mpDris2 2021-03-25 11:10:27 +05:30
mpv/.config/mpv mpv: Add configuration for mpv 2022-11-29 20:26:28 +05:30
msmtp msmtp: Clean up gpg command invocation 2022-10-13 20:37:58 +05:30
mutt/.mutt mutt: Enable sidebar and mailboxes 2022-02-16 09:54:45 +05:30
notmuch notmuch: Fix database path 2022-10-14 16:35:14 +05:30
nvim nvim: lsp: Fix error in LspDetach 2022-11-29 20:26:28 +05:30
offlineimap Individual configs should still be in directories 2019-12-31 14:38:50 +05:30
paru/.config paru: Add a configuration for paru 2021-10-20 13:01:21 +05:30
pipewire/.config/pipewire pipewire: Allow higher sample rates 2022-03-02 09:06:17 +05:30
pycodestyle/.config pycodestyle: Ignore E402 2021-10-20 13:01:21 +05:30
pylint/.config pylint: Ignore more lints 2022-01-15 17:42:51 +05:30
ranger/.config/ranger ranger: Run formatter on these python files 2021-04-19 12:20:00 +05:30
starship/.config starship: Remove deprecated property 2021-08-06 10:51:22 +05:30
sway/.config/sway sway: Use workspace 6 as default for mpv 2022-11-29 20:26:28 +05:30
swaylock/.config/swaylock Switch back to JetBrains Mono 2021-12-28 19:23:18 +05:30
systemd/.config/systemd/user systemd: email: Use a specifier for home directory 2022-10-13 19:41:53 +05:30
tinyirc/.config/tiny tinyirc: Update configuration 2021-07-25 11:42:33 +05:30
tmux tmux: Start with base index as 1 2022-11-23 12:42:06 +05:30
tmuxp/.config/tmuxp tmuxp: Move scratch pane to last 2022-11-23 12:42:06 +05:30
tut/.config/tut tut: Add configuration for tut Mastodon TUI client 2022-11-29 20:26:28 +05:30
vale/.config/vale Add configuration for vale 2022-09-28 17:07:26 +05:30
vimiv/.config/vimiv Add configuration for vimiv 2020-11-19 17:30:37 +05:30
waybar/.config/waybar waybar: waybar modules require a minimum height of 28 2020-12-15 17:00:55 +05:30
wezterm/.config/wezterm wezterm: Add an initial wezterm configuration 2021-12-15 14:54:04 +05:30
wireplumber/.config/wireplumber wireplumber: Add explicit bluetooth configuration 2022-02-28 17:59:21 +05:30
wofi/.config/wofi wofi: Add configuration for wofi required on sway 2020-11-13 20:17:54 +05:30
zathura/.config/zathura zathura: Update font setting 2022-02-01 09:52:39 +05:30
.git-blame-ignore-revs git-blame-ignore-revs: Ignore clean up with fish_indent 2022-04-12 18:27:56 +05:30
.gitignore gitignore: Ignore some more gnupg entries 2022-10-13 19:47:32 +05:30
.gitmodules tmux: Drop copycat 2022-05-03 18:31:36 +05:30
.luacheckrc Add luacheckrc for neovim 2021-12-06 10:28:30 +05:30
Makefile Update Makefile 2022-01-27 14:50:32 +05:30