master
blob42 1 year ago
parent d318389282
commit b649418528

@ -168,6 +168,7 @@ for _, plugin in pairs(default_plugins) do
g["loaded_" .. plugin] = 1
end
-- disable some default providers
local default_providers = {
"node",
"perl",

@ -231,7 +231,7 @@ local config = {
}
}
},
sumneko_lua = {
lua_ls = {
before_init=require("neodev.lsp").before_init,
}

@ -15,6 +15,10 @@ M.default_sources = {
null_ls.builtins.diagnostics.fish,
null_ls.builtins.formatting.fish_indent,
null_ls.builtins.diagnostics.hadolint,
null_ls.builtins.formatting.autoflake,
null_ls.builtins.formatting.autopep8,
null_ls.builtins.formatting.black,
null_ls.builtins.formatting.isort,
}
M.extra_sources = {
@ -24,10 +28,6 @@ M.extra_sources = {
-- null_ls.builtins.diagnostics.pylint,
null_ls.builtins.formatting.autoflake,
null_ls.builtins.formatting.autopep8,
null_ls.builtins.formatting.black,
null_ls.builtins.formatting.isort,
-- golang revive (manually enabled with shortcut from mappings)
-- null_ls.builtins.diagnostics.revive,
}

@ -572,7 +572,7 @@ return {
-- ------------------
["neovim/nvim-lspconfig"] = { -- {{{
lock = true,
-- lock = true,
after = {"mason.nvim", "mason-lspconfig.nvim", "neodev.nvim" },
module = { "lspconfig" },
config = function()
@ -580,7 +580,7 @@ return {
end
},
["williamboman/mason-lspconfig.nvim"] = {
lock = true,
-- lock = true,
requires = { "williamboman/mason.nvim", "nvim-lspconfig" },
-- after = "mason.nvim",
module = { "mson-lspconfig.nvim", "mason.nvim" },
@ -589,7 +589,7 @@ return {
end,
},
["ray-x/guihua.lua"] = {
lock = true,
-- lock = true,
module = { "navigator" },
module_pattern = {"guihua*"},
run = "cd lua/fzy && make",
@ -605,7 +605,7 @@ return {
-- ["https://git.sp4ke.xyz/sp4ke/navigator.lua"] =
--
["ray-x/navigator.lua"] = {
lock = true,
-- lock = true,
opt = true,
module = "navigator",
after = { "nvim-lspconfig", "base46", "ui", "mason.nvim", "mason-lspconfig.nvim", "neodev.nvim", "null-ls.nvim"},

@ -22,5 +22,6 @@ return {
}))
}, { --autosnippets
-- s("uuid#", f(gen_uuid))
s("ret ", t("return "))
s("ret ", t("return ")),
s("#ign", t" # type: ignore")
}

@ -0,0 +1,11 @@
---@diagnostic disable: undefined-global
--
return {
}, { --autosnippets
s("v<", fmt("Vec<{}>",{i(0)}))
}
--

@ -9,3 +9,5 @@ let g:bookmark_no_default_key_mappings = 1
let g:bookmark_highlight_lines = 0
let g:bookmark_auto_save = 1
let g:bookmark_auto_save_file = stdpath('data') . '/bookmarks'
let g:python3_host_prog = '/home/spike/.pyenv/shims/python'

Loading…
Cancel
Save