Compare commits
2 commits
1546d48cde
...
238d018031
Author | SHA1 | Date | |
---|---|---|---|
238d018031 | |||
92797dffb1 |
2 changed files with 16 additions and 25 deletions
|
@ -14,17 +14,7 @@ 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"
|
||||||
|
|
||||||
# Embedded Sys and finshots
|
# News
|
||||||
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"
|
||||||
|
@ -32,9 +22,6 @@ 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"
|
||||||
|
@ -45,8 +32,15 @@ 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"
|
||||||
|
@ -54,6 +48,3 @@ 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"
|
|
||||||
|
|
|
@ -157,13 +157,13 @@ local switch_source_header = function()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local client_custom_setup = function(client)
|
local client_custom_setup = function(client, bufnr)
|
||||||
if client.name == 'clangd' then
|
if client.name == 'clangd' then
|
||||||
vim.api.nvim_create_user_command("ClangdSwitchSourceHeader", switch_source_header, {desc = 'Switch between source/header'})
|
vim.api.nvim_buf_create_user_command(bufnr, "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_create_user_command("CargoReload", cargo_reload_workspace, {desc = 'Reload current cargo workspace'})
|
vim.api.nvim_buf_create_user_command(bufnr, "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)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local client_custom_cleanup = function(client)
|
local client_custom_cleanup = function(client, bufnr)
|
||||||
if client.name == 'clangd' then
|
if client.name == 'clangd' then
|
||||||
vim.api.nvim_del_user_command("ClangdSwitchSourceHeader")
|
vim.api.nvim_buf_del_user_command(bufnr, "ClangdSwitchSourceHeader")
|
||||||
end
|
end
|
||||||
|
|
||||||
if client.name == 'rust-analyzer' then
|
if client.name == 'rust-analyzer' then
|
||||||
vim.api.nvim_del_user_command("CargoReload")
|
vim.api.nvim_buf_del_user_command(bufnr, "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)
|
client_custom_setup(client, bufnr)
|
||||||
|
|
||||||
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)
|
client_custom_cleanup(client, bufnr)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue