Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fa27cde63 | ||
|
|
74b2678a49 |
@@ -1,2 +0,0 @@
|
|||||||
config:
|
|
||||||
MD013: false
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
return {
|
|
||||||
"saghen/blink.cmp",
|
|
||||||
opts = function(_, opts)
|
|
||||||
local completion_toggle = Snacks.toggle({
|
|
||||||
name = "Completion",
|
|
||||||
get = function()
|
|
||||||
return vim.b.completion
|
|
||||||
end,
|
|
||||||
set = function(state)
|
|
||||||
vim.b.completion = state
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
local function toggle_completion()
|
|
||||||
require("blink.cmp").hide()
|
|
||||||
completion_toggle:toggle()
|
|
||||||
end
|
|
||||||
|
|
||||||
vim.keymap.set({ "i", "n" }, "<C-Space>", toggle_completion, { desc = "Toggle Completion" })
|
|
||||||
opts.enabled = function()
|
|
||||||
return vim.b.completion
|
|
||||||
end
|
|
||||||
|
|
||||||
return opts
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
local HOME = os.getenv("HOME")
|
|
||||||
return {
|
|
||||||
"mfussenegger/nvim-lint",
|
|
||||||
optional = true,
|
|
||||||
opts = {
|
|
||||||
linters = {
|
|
||||||
["markdownlint-cli2"] = {
|
|
||||||
args = { "--config", HOME .. "/.config/nvim/lua/plugins/.markdownlint-cli2.yaml", "--" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user