Force discord not to force updates
This commit is contained in:
parent
25b425be9c
commit
a42f52d77b
9 changed files with 54 additions and 133 deletions
|
@ -42,7 +42,9 @@ function M.setup()
|
|||
"folke/which-key.nvim", -- shows what other keys I can press to finish a command
|
||||
"psliwka/vim-smoothie", -- smooth scrolling
|
||||
"easymotion/vim-easymotion", -- removes the need for spamming w or e
|
||||
"tpope/vim-surround" -- work with brackets, quotes, tags, etc
|
||||
"tpope/vim-surround", -- work with brackets, quotes, tags, etc
|
||||
"MunifTanjim/nui.nvim", -- ui stuff required by idris2
|
||||
"ShinKage/idris2-nvim" -- idris2 support
|
||||
}
|
||||
|
||||
for _, v in ipairs(themePackages) do
|
||||
|
|
|
@ -4,32 +4,32 @@ local lspconfig = require("my.plugins.lspconfig")
|
|||
local M = {}
|
||||
|
||||
local idrisChords = {
|
||||
sc = "case_split",
|
||||
mc = "make_case",
|
||||
ml = "make_lemma",
|
||||
es = "expr_search",
|
||||
gd = "generate_def",
|
||||
rh = "refine_hole",
|
||||
ac = "add_clause"
|
||||
sc = "case_split",
|
||||
mc = "make_case",
|
||||
ml = "make_lemma",
|
||||
es = "expr_search",
|
||||
gd = "generate_def",
|
||||
rh = "refine_hole",
|
||||
ac = "add_clause"
|
||||
}
|
||||
|
||||
function M.setup()
|
||||
local idris2 = require("idris2")
|
||||
local idris2 = require("idris2")
|
||||
|
||||
idris2.setup({
|
||||
server = {
|
||||
on_attach = function(client, bufnr)
|
||||
lspconfig.on_attach(client, bufnr)
|
||||
idris2.setup({
|
||||
server = {
|
||||
on_attach = function(client, bufnr)
|
||||
lspconfig.on_attach(client, bufnr)
|
||||
|
||||
for key, value in pairs(idrisChords) do
|
||||
arpeggio.chord("n", "i" .. key,
|
||||
":lua require('idris2.code_action')." ..
|
||||
value .. "()<CR>", {settings = "b"})
|
||||
end
|
||||
end
|
||||
},
|
||||
client = {hover = {use_split = true}}
|
||||
})
|
||||
for key, value in pairs(idrisChords) do
|
||||
arpeggio.chord("n", "i" .. key,
|
||||
":lua require('idris2.code_action')." ..
|
||||
value .. "()<CR>", { settings = "b" })
|
||||
end
|
||||
end
|
||||
},
|
||||
client = { hover = { use_split = true } }
|
||||
})
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue