feat(nvim): small improvements

This commit is contained in:
winston 2022-09-26 18:12:17 +02:00
parent 4bf1e89cdb
commit 4a9ca80647
Signed by: winston
GPG key ID: 3786770EDBC2B481
3 changed files with 6 additions and 9 deletions

View file

@ -55,10 +55,10 @@ require("catppuccin").setup({
gitsigns = true, gitsigns = true,
hop = false, hop = false,
leap = false, leap = false,
lightspeed = false, lightspeed = true,
markdown = true, markdown = true,
neogit = true, neogit = true,
notify = true, notify = false,
symbols_outline = true, symbols_outline = true,
telekasten = false, telekasten = false,
telescope = true, telescope = true,

View file

@ -68,6 +68,10 @@ require("presence"):setup({
["helmfile.yaml"] = { ["helmfile.yaml"] = {
"helmfile", "helmfile",
"https://raw.githubusercontent.com/helm/community/main/art/images/Logo-Tweak-Dark.png", "https://raw.githubusercontent.com/helm/community/main/art/images/Logo-Tweak-Dark.png",
},
["prisma"] = {
"Prisma",
"https://avatars.githubusercontent.com/u/17219288"
} }
}, },
-- Rich Presence text options -- Rich Presence text options

View file

@ -102,13 +102,6 @@ local on_attach = function(client, bufnr)
vim.keymap.set("n", "<space>ca", vim.lsp.buf.code_action, bufopts) vim.keymap.set("n", "<space>ca", vim.lsp.buf.code_action, bufopts)
vim.keymap.set("n", "gr", vim.lsp.buf.references, bufopts) vim.keymap.set("n", "gr", vim.lsp.buf.references, bufopts)
vim.keymap.set("n", "<space>nf", function() vim.keymap.set("n", "<space>nf", function()
vim.lsp.buf.format({
-- filter to only use null-ls
filter = function(c)
return c.name == "null-ls"
end,
bufnr = bufnr,
})
end, bufopts) end, bufopts)
end end