Compare commits
5 commits
8bfc5b630f
...
0496c7a0a0
Author | SHA1 | Date | |
---|---|---|---|
Sanchayan Maity | 0496c7a0a0 | ||
Sanchayan Maity | 7bad55af50 | ||
Sanchayan Maity | b6d9ddd9b0 | ||
Sanchayan Maity | 6fa44274e1 | ||
Sanchayan Maity | fc80b95131 |
|
@ -36,6 +36,11 @@ https://haskellweekly.news/newsletter.atom "~Haskell Weekly"
|
|||
https://systemcrafters.net/rss/news.xml "~System Crafters"
|
||||
|
||||
# Reddit
|
||||
https://www.reddit.com/r/IndiaCoffee/.rss "~r/IndiaCoffee"
|
||||
https://www.reddit.com/r/Coffee/.rss "~r/Coffee"
|
||||
https://www.reddit.com/r/pourover/.rss "~r/Pourover"
|
||||
https://www.reddit.com/r/mokapot/.rss "~r/Moka Pot"
|
||||
https://www.reddit.com/r/V60/.rss "~r/V60"
|
||||
https://www.reddit.com/r/vim/.rss "~r/Vim"
|
||||
https://www.reddit.com/r/neovim/.rss "~r/Neovim"
|
||||
https://www.reddit.com/r/rust/.rss "~r/Rust"
|
||||
|
|
|
@ -10,7 +10,6 @@ require('gitsigns').setup {
|
|||
attach_to_untracked = false,
|
||||
current_line_blame = false,
|
||||
watch_gitdir = {
|
||||
interval = 1000,
|
||||
follow_files = true
|
||||
},
|
||||
preview_config = {
|
||||
|
|
|
@ -96,11 +96,15 @@ function M.clangd_config()
|
|||
local root_files = { '.clangd', '.clang-tidy', '.clang-format', 'compile_commands.json', 'compile_flags.txt' }
|
||||
local clangd_cmd = { "clangd", "--background-index", "--pch-storage=memory", "--clang-tidy", "--header-insertion=never" }
|
||||
local root_directory = get_root_directory(root_files)
|
||||
local clangd_caps = {
|
||||
textDocument = { completion = { editsNearCursor = true } },
|
||||
offsetEncoding = { 'utf-8', 'utf-16' },
|
||||
}
|
||||
|
||||
return {
|
||||
name = "clangd",
|
||||
cmd = clangd_cmd,
|
||||
capabilities = default_capabilities,
|
||||
capabilities = clangd_caps,
|
||||
root_dir = root_directory,
|
||||
filetypes = { 'c', 'cpp' },
|
||||
single_file_support = true,
|
||||
|
@ -118,9 +122,19 @@ function M.deno_config()
|
|||
capabilities = default_capabilities,
|
||||
filetypes = file_types,
|
||||
root_dir = root_directory,
|
||||
init_options = {
|
||||
enable = true,
|
||||
unstable = false,
|
||||
settings = {
|
||||
deno = {
|
||||
enable = true,
|
||||
suggest = {
|
||||
imports = {
|
||||
hosts = {
|
||||
['https://deno.land'] = true,
|
||||
['https://crux.land'] = true,
|
||||
['https://x.nest.land'] = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
handlers = {
|
||||
['textDocument/definition'] = denols_handler,
|
||||
|
@ -201,11 +215,16 @@ end
|
|||
function M.ra_config()
|
||||
local root_files = { "Cargo.toml" }
|
||||
local root_directory = get_root_directory(root_files)
|
||||
local ra_caps = vim.lsp.protocol.make_client_capabilities()
|
||||
|
||||
ra_caps.experimental = {
|
||||
serverStatusNotification = true,
|
||||
}
|
||||
|
||||
return {
|
||||
name = "rust-analyzer",
|
||||
cmd = { "rust-analyzer" },
|
||||
capabilities = default_capabilities,
|
||||
capabilities = ra_caps,
|
||||
root_dir = root_directory,
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
|
@ -242,6 +261,10 @@ function M.tsserver_config()
|
|||
return {
|
||||
name = "tsserver",
|
||||
cmd = { "typescript-language-server", "--stdio" },
|
||||
-- Support Yarn PnP
|
||||
-- hostInfo with init_options is required to allow yarn pnp sdk to
|
||||
-- identify editor and patch paths appropriately.
|
||||
init_options = { hostInfo = 'neovim' },
|
||||
capabilities = default_capabilities,
|
||||
root_dir = root_directory,
|
||||
filetypes = file_types,
|
||||
|
|
|
@ -17,17 +17,19 @@ set searchurls.wayback https://web.archive.org/web/*/
|
|||
|
||||
quickmark c https://chat.asymptotic.io/#/welcome
|
||||
quickmark C https://www.online.citibank.co.in/portal/pdf/card-Rate.pdf
|
||||
quickmark d https://discourse.gstreamer.org/
|
||||
quickmark f https://instantforex.icicibank.com/instantforex/forms/MicroCardRateView.aspx
|
||||
quickmark F https://www.hdfcbank.com/content/bbp/repositories/723fb80a-2dde-42a3-9793-7ae1be57c87f/?path=/Personal/Home/content/rates.pdf
|
||||
quickmark r https://datatracker.ietf.org/
|
||||
quickmark R https://reddit.com
|
||||
quickmark e https://www.reddit.com/r/emacs
|
||||
quickmark h https://www.reddit.com/r/haskell
|
||||
quickmark H https://discourse.haskell.org/
|
||||
quickmark n https://www.reddit.com/r/neovim
|
||||
quickmark v https://www.reddit.com/r/vim
|
||||
quickmark q https://www.reddit.com/r/qutebrowser
|
||||
quickmark a https://wiki.archlinux.org
|
||||
quickmark A https://9anime.vc/home
|
||||
quickmark A https://aniwatch.to/home
|
||||
quickmark g https://gitlab.freedesktop.org/gstreamer
|
||||
quickmark G https://www.github.com
|
||||
quickmark p https://lazka.github.io/pgi-docs/#Gst-1.0
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
stream_defaults = {}
|
||||
stream_defaults.enabled = true
|
||||
|
||||
stream_defaults.properties = {
|
||||
["restore-props"] = true,
|
||||
["restore-target"] = true,
|
||||
["default-channel-volume"] = 0.9,
|
||||
}
|
||||
|
||||
stream_defaults.rules = {
|
||||
{
|
||||
matches = {
|
||||
{
|
||||
{ "node.nick", "matches", "USB PnP Audio Device" },
|
||||
},
|
||||
},
|
||||
apply_properties = {
|
||||
["state.restore-props"] = false,
|
||||
["state.restore-target"] = false,
|
||||
["state.default-channel-volume"] = 0.9,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
function stream_defaults.enable()
|
||||
if stream_defaults.enabled == false then
|
||||
return
|
||||
end
|
||||
|
||||
load_script("restore-stream.lua", {
|
||||
properties = stream_defaults.properties,
|
||||
rules = stream_defaults.rules,
|
||||
})
|
||||
end
|
Loading…
Reference in a new issue