kitchen sink...
just gonna put the changes that I can remember making here: - replace blink with native completion (omnifunc) - remove some unneeded plugins - add a misc function for making sure complex bindings don't cause flickering - remove some stale snippets - remove folding (I don't find myself folding that often)
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
local map = core.misc.map
|
||||
|
||||
return {
|
||||
on_attach = function(_, bufnr)
|
||||
-- add some basedpyright specific mappings
|
||||
local opts = { buffer = bufnr }
|
||||
map("n", "cri", "<cmd>PyrightOrganizeImports<CR>", opts)
|
||||
end,
|
||||
}
|
@ -1,12 +1,4 @@
|
||||
local map = core.misc.map
|
||||
|
||||
return {
|
||||
on_attach = function(_, bufnr)
|
||||
-- add some clangd specific mappings
|
||||
local opts = { buffer = bufnr }
|
||||
map("n", "<leader>o", "<cmd>ClangdSwitchSourceHeader<CR>", opts)
|
||||
end,
|
||||
|
||||
cmd = {
|
||||
"clangd",
|
||||
"--background-index",
|
||||
|
@ -11,14 +11,14 @@ return {
|
||||
enable = false
|
||||
},
|
||||
workspace = {
|
||||
checkThirdParty = true,
|
||||
checkThirdParty = "ApplyInMemory",
|
||||
library = {
|
||||
vim.env.VIMRUNTIME
|
||||
vim.env.VIMRUNTIME,
|
||||
"${3rd}/luv/library"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
root_markers = { ".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml",
|
||||
"stylua.toml", "selene.toml", "selene.yml", "README.md" }
|
||||
}
|
||||
|
Reference in New Issue
Block a user