Chnaged plugins and remaps
This commit is contained in:
13
lua/taken/plugins/lsp/tinylspactions.lua
Normal file
13
lua/taken/plugins/lsp/tinylspactions.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
return {
|
||||
"rachartier/tiny-code-action.nvim",
|
||||
dependencies = {
|
||||
{ "nvim-lua/plenary.nvim" },
|
||||
{ "nvim-telescope/telescope.nvim" },
|
||||
},
|
||||
event = "LspAttach",
|
||||
config = function()
|
||||
require("tiny-code-action").setup({
|
||||
backend = "delta",
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
--- @type LazyPluginSpec
|
||||
return {
|
||||
"epwalsh/obsidian.nvim",
|
||||
version = "*",
|
||||
lazy = true,
|
||||
ft = "markdown",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
config = function()
|
||||
local obsidian = require("obsidian")
|
||||
|
||||
obsidian.setup({
|
||||
workspaces = {
|
||||
{
|
||||
name = "Main",
|
||||
path = "~/obsidian/Main",
|
||||
},
|
||||
},
|
||||
})
|
||||
vim.opt_local.conceallevel = 2
|
||||
end,
|
||||
}
|
||||
@@ -11,6 +11,12 @@ return {
|
||||
"nvim-telescope/telescope-fzf-native.nvim",
|
||||
},
|
||||
},
|
||||
{
|
||||
"OXY2DEV/markview.nvim",
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
},
|
||||
{
|
||||
"chrisgrieser/nvim-scissors",
|
||||
dependencies = "nvim-telescope/telescope.nvim",
|
||||
|
||||
@@ -15,6 +15,8 @@ return {
|
||||
"javascript",
|
||||
"jsdoc",
|
||||
"typescript",
|
||||
"html",
|
||||
"python",
|
||||
"java",
|
||||
"json",
|
||||
"regex",
|
||||
|
||||
@@ -21,8 +21,11 @@ local on_attach = function(client, bufnr)
|
||||
vim.keymap.set("n", "<leader>vd", function()
|
||||
vim.diagnostic.open_float()
|
||||
end, opts("Open diagnostics"))
|
||||
-- vim.keymap.set("n", "<leader>vca", function()
|
||||
-- vim.lsp.buf.code_action()
|
||||
-- end, opts("Get code actions"))
|
||||
vim.keymap.set("n", "<leader>vca", function()
|
||||
vim.lsp.buf.code_action()
|
||||
require("tiny-code-action").code_action()
|
||||
end, opts("Get code actions"))
|
||||
vim.keymap.set("n", "<leader>vr", function()
|
||||
vim.lsp.buf.rename()
|
||||
|
||||
Reference in New Issue
Block a user