Compare commits

..

No commits in common. "238d018031cc43ecabf80b2cebbbb94d4943b16d" and "1546d48cde656a74f9663ca44784a2e824436916" have entirely different histories.

2 changed files with 25 additions and 16 deletions

View file

@ -14,7 +14,17 @@ https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests.atom?state=
https://www.reddit.com/r/Deathmetal/.rss "~Death Metal" https://www.reddit.com/r/Deathmetal/.rss "~Death Metal"
https://www.reddit.com/r/BlackMetal/.rss "~Black Metal" https://www.reddit.com/r/BlackMetal/.rss "~Black Metal"
# News # Embedded Sys and finshots
https://kill-the-newsletter.com/feeds/w6ts5eirbs9i0v8y.xml "~Finshots"
https://kill-the-newsletter.com/feeds/cqikvapgsiaglu76.xml "~EmbeddedSys"
# Tech news
https://lwn.net/headlines/rss "~LWN"
https://fedoramagazine.org/feed/ "~FedoraMag"
https://hub.fosstodon.org/feed.xml "~Fosstodon"
https://frame.work/blog.rss "~Framework"
# Science news
https://apod.nasa.gov/apod.rss "~NASA" https://apod.nasa.gov/apod.rss "~NASA"
https://api.quantamagazine.org/feed/ "~Quanta Magazine" https://api.quantamagazine.org/feed/ "~Quanta Magazine"
https://www.nature.com/nature.rss "~Nature" https://www.nature.com/nature.rss "~Nature"
@ -22,6 +32,9 @@ https://www.nature.com/nature.rss "~Nature"
# PL # PL
https://haskellweekly.news/newsletter.atom "~Haskell Weekly" https://haskellweekly.news/newsletter.atom "~Haskell Weekly"
# System Crafters
https://systemcrafters.net/rss/news.xml "~System Crafters"
# Reddit # Reddit
https://www.reddit.com/r/anime/.rss "~r/Anime" https://www.reddit.com/r/anime/.rss "~r/Anime"
https://www.reddit.com/r/haskell/.rss "~r/Haskell" https://www.reddit.com/r/haskell/.rss "~r/Haskell"
@ -32,15 +45,8 @@ https://www.reddit.com/r/vim/.rss "~r/Vim"
https://www.reddit.com/r/IndiaInvestments/.rss "~r/IndiaInvestments" https://www.reddit.com/r/IndiaInvestments/.rss "~r/IndiaInvestments"
https://www.reddit.com/r/bangalore/.rss "~r/Bangalore" https://www.reddit.com/r/bangalore/.rss "~r/Bangalore"
https://www.reddit.com/r/india/.rss "~r/India" https://www.reddit.com/r/india/.rss "~r/India"
https://www.reddit.com/r/IndiaCoffee/.rss "~r/IndiaCoffee"
https://www.reddit.com/r/AeroPress/.rss "~r/AeroPress"
https://www.reddit.com/r/pourover/.rss "~r/Pourover"
https://www.reddit.com/r/headphones/.rss "~r/headphones"
https://www.reddit.com/r/iems/.rss "~r/iems"
https://www.reddit.com/r/inearfidelity/.rss "~r/inearfidelity"
# Discourse # Discourse
https://discourse.gstreamer.org/latest.rss "~GStreamer Discourse"
https://discourse.haskell.org/latest.rss "~Haskell Discourse" https://discourse.haskell.org/latest.rss "~Haskell Discourse"
https://discourse.purescript.org/latest.rss "~PureScript Discourse" https://discourse.purescript.org/latest.rss "~PureScript Discourse"
https://neovim.discourse.group/latest.rss "~neovim Discourse" https://neovim.discourse.group/latest.rss "~neovim Discourse"
@ -48,3 +54,6 @@ https://neovim.discourse.group/latest.rss "~neovim Discourse"
# WebRTC # WebRTC
https://webrtchacks.com/feed/ "~WebRTC Hacks" https://webrtchacks.com/feed/ "~WebRTC Hacks"
https://webrtcweekly.com/feed/ "~WebRTC Weekly" https://webrtcweekly.com/feed/ "~WebRTC Weekly"
# News
http://feeds.bbci.co.uk/news/world/rss.xml "~BBC World News"

View file

@ -157,13 +157,13 @@ local switch_source_header = function()
end end
end end
local client_custom_setup = function(client, bufnr) local client_custom_setup = function(client)
if client.name == 'clangd' then if client.name == 'clangd' then
vim.api.nvim_buf_create_user_command(bufnr, "ClangdSwitchSourceHeader", switch_source_header, {desc = 'Switch between source/header'}) vim.api.nvim_create_user_command("ClangdSwitchSourceHeader", switch_source_header, {desc = 'Switch between source/header'})
end end
if client.name == 'rust-analyzer' then if client.name == 'rust-analyzer' then
vim.api.nvim_buf_create_user_command(bufnr, "CargoReload", cargo_reload_workspace, {desc = 'Reload current cargo workspace'}) vim.api.nvim_create_user_command("CargoReload", cargo_reload_workspace, {desc = 'Reload current cargo workspace'})
end end
if client.name == 'tsserver' then if client.name == 'tsserver' then
@ -173,13 +173,13 @@ local client_custom_setup = function(client, bufnr)
end end
end end
local client_custom_cleanup = function(client, bufnr) local client_custom_cleanup = function(client)
if client.name == 'clangd' then if client.name == 'clangd' then
vim.api.nvim_buf_del_user_command(bufnr, "ClangdSwitchSourceHeader") vim.api.nvim_del_user_command("ClangdSwitchSourceHeader")
end end
if client.name == 'rust-analyzer' then if client.name == 'rust-analyzer' then
vim.api.nvim_buf_del_user_command(bufnr, "CargoReload") vim.api.nvim_del_user_command("CargoReload")
end end
end end
@ -193,7 +193,7 @@ local on_attach = function(client, bufnr)
local opts = { noremap=true, silent=true } local opts = { noremap=true, silent=true }
client_custom_setup(client, bufnr) client_custom_setup(client)
for _, mappings in pairs(lsp_key_mappings) do for _, mappings in pairs(lsp_key_mappings) do
local capability, mode, lhs, rhs = unpack(mappings) local capability, mode, lhs, rhs = unpack(mappings)
@ -280,7 +280,7 @@ vim.api.nvim_create_autocmd("LspDetach", {
end end
end end
client_custom_cleanup(client, bufnr) client_custom_cleanup(client)
end, end,
}) })