Compare commits

..

No commits in common. "3ec1f5c3e37fbe7a0b4abfcee831eedb7d008a90" and "a41a2376fb6eb13812d240ddc5f8439bffa23312" have entirely different histories.

3 changed files with 36 additions and 45 deletions

View file

@ -1,5 +0,0 @@
---@type vim.lsp.Config
return {
cmd = { "proselint" },
filetypes = { "markdown", "text", "gitcommit", "plaintext" },
}

View file

@ -1,40 +1,40 @@
-- Buffer navigation -- Buffer navigation
-- https://github.com/leath-dub/snipe.nvim -- https://github.com/leath-dub/snipe.nvim
return { return {
"leath-dub/snipe.nvim", "leath-dub/snipe.nvim",
opts = {}, opts = {},
keys = { keys = {
{ {
"<leader><leader>", "<leader><leader>",
function() function()
require("snipe").open_buffer_menu() require("snipe").open_buffer_menu()
end, end,
desc = "Open Snipe buffer menu", desc = "Open Snipe buffer menu",
}, },
}, },
config = function() config = function()
local snipe = require("snipe") local snipe = require("snipe")
snipe.setup({ snipe.setup({
hints = { hints = {
-- Charaters to use for hints -- Charaters to use for hints
-- make sure they don't collide with the navigation keymaps -- make sure they don't collide with the navigation keymaps
dictionary = "saflewcmpghio", dictionary = "saflewcmpghio",
}, },
ui = { ui = {
position = "topright", position = "topright",
-- position = "cursor", -- position = "cursor",
open_win_override = { open_win_override = {
-- title = "i can haz file?", -- title = "i can haz file?",
border = "rounded", border = "rounded",
}, },
preselect_current = true, preselect_current = true,
}, },
navigate = { navigate = {
cancel_snipe = "q", cancel_snipe = "q",
close_buffer = "D", close_buffer = "d",
open_vsplit = "V", open_vsplit = "V",
open_split = "X", open_split = "X",
}, },
}) })
end, end,
} }

View file

@ -11,7 +11,6 @@ vim.lsp.enable({
"tailwind", "tailwind",
"docker-compose", "docker-compose",
"bicep", "bicep",
"proselint",
}) })
-- Set highlight on search -- Set highlight on search
@ -122,6 +121,3 @@ vim.diagnostic.config({
-- current_line = true, -- current_line = true,
-- }, -- },
}) })
-- Disable log because it's slowing down Neovim
vim.lsp.log_levels = "OFF"