nvim: various fixes
This commit is contained in:
parent
791645f1c3
commit
31b5f9d0c5
5 changed files with 25 additions and 8 deletions
common/.config/nvim
|
@ -33,7 +33,7 @@ require("lazy").setup({
|
||||||
{ import = "lazyvim.plugins.extras.lang.docker" },
|
{ import = "lazyvim.plugins.extras.lang.docker" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.git" },
|
{ import = "lazyvim.plugins.extras.lang.git" },
|
||||||
-- { import = "lazyvim.plugins.extras.lang.gleam" },
|
-- { import = "lazyvim.plugins.extras.lang.gleam" },
|
||||||
-- { import = "lazyvim.plugins.extras.lang.helm" },
|
{ import = "lazyvim.plugins.extras.lang.helm" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.json" },
|
{ import = "lazyvim.plugins.extras.lang.json" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.markdown" },
|
{ import = "lazyvim.plugins.extras.lang.markdown" },
|
||||||
-- { import = "lazyvim.plugins.extras.lang.php" },
|
-- { import = "lazyvim.plugins.extras.lang.php" },
|
||||||
|
@ -46,7 +46,6 @@ require("lazy").setup({
|
||||||
{ import = "lazyvim.plugins.extras.lang.yaml" },
|
{ import = "lazyvim.plugins.extras.lang.yaml" },
|
||||||
{ import = "lazyvim.plugins.extras.lsp.neoconf" },
|
{ import = "lazyvim.plugins.extras.lsp.neoconf" },
|
||||||
{ import = "lazyvim.plugins.extras.test.core" },
|
{ import = "lazyvim.plugins.extras.test.core" },
|
||||||
{ import = "lazyvim.plugins.extras.ui.mini-indentscope" },
|
|
||||||
{ import = "lazyvim.plugins.extras.ui.treesitter-context" },
|
{ import = "lazyvim.plugins.extras.ui.treesitter-context" },
|
||||||
{ import = "lazyvim.plugins.extras.util.dot" },
|
{ import = "lazyvim.plugins.extras.util.dot" },
|
||||||
{ import = "plugins" },
|
{ import = "plugins" },
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
---@type LazySpec
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"yetone/avante.nvim",
|
"yetone/avante.nvim",
|
||||||
version = "*",
|
version = "0.0.13", -- https://github.com/yetone/avante.nvim/issues/966
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"stevearc/dressing.nvim",
|
"stevearc/dressing.nvim",
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---@type LazySpec
|
|
||||||
return {
|
return {
|
||||||
{ "ggandor/flit.nvim", optional = true, enabled = false },
|
{ "ggandor/flit.nvim", optional = true, enabled = false },
|
||||||
{
|
{
|
||||||
|
@ -83,7 +82,8 @@ return {
|
||||||
{ "<leader>zf", function() require("zk.commands").get("ZkNotes")({ sort = { 'modified' } }) end, desc = "Find Notes" },
|
{ "<leader>zf", function() require("zk.commands").get("ZkNotes")({ sort = { 'modified' } }) end, desc = "Find Notes" },
|
||||||
{ "<leader>zt", function() require("zk.commands").get("ZkTags")() end, desc = "Find Note Tags" },
|
{ "<leader>zt", function() require("zk.commands").get("ZkTags")() end, desc = "Find Note Tags" },
|
||||||
{ "<leader>zf", function() require("zk.commands").get("ZkMatch")() end, desc = "Find Notes (Match Selection)", mode = { "v" } },
|
{ "<leader>zf", function() require("zk.commands").get("ZkMatch")() end, desc = "Find Notes (Match Selection)", mode = { "v" } },
|
||||||
{ "<leader>zi", function() require("zk.commands").get("ZkInsertLinkAtSelection")() end, desc = "Insert Link", mode = { "n", "v" } },
|
{ "<leader>zi", function() require("zk.commands").get("ZkInsertLink")() end, desc = "Insert Link", mode = { "n" } },
|
||||||
|
-- { "<leader>zi", function() require("zk.commands").get("ZkInsertLinkAtSelection")() end, desc = "Insert Link", mode = { "v" } },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
---@type LazySpec
|
|
||||||
return {
|
return {
|
||||||
|
-- TODO: remove this if https://github.com/LazyVim/LazyVim/issues/5333 is fixed
|
||||||
|
{ "towolf/vim-helm", enabled = false },
|
||||||
|
{ "qvalentin/helm-ls.nvim", ft = "helm" },
|
||||||
{
|
{
|
||||||
"linux-cultist/venv-selector.nvim",
|
"linux-cultist/venv-selector.nvim",
|
||||||
optional = true,
|
optional = true,
|
||||||
|
@ -34,6 +36,24 @@ return {
|
||||||
licenceKey = require("lib").get_secret("intelephense"),
|
licenceKey = require("lib").get_secret("intelephense"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
basedpyright = {
|
||||||
|
settings = {
|
||||||
|
basedpyright = {
|
||||||
|
disableOrganizeImports = true,
|
||||||
|
-- analysis = {
|
||||||
|
-- diagnosticMode = "workspace",
|
||||||
|
-- },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
bashls = {
|
||||||
|
settings = {
|
||||||
|
bashIde = {
|
||||||
|
explainshellEndpoint = "https://explainshell.com/",
|
||||||
|
enableSourceErrorDiagnostics = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---@type LazySpec
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue