249 current 2024-03-20 12:50:36 24.05.20240319.b06025f 6.8.0-zen1 *
This commit is contained in:
parent
beb60ea1ec
commit
f049c4d40b
4 changed files with 53 additions and 87 deletions
|
|
@ -1,33 +1,34 @@
|
||||||
return {
|
return {
|
||||||
opt = {
|
opt = {
|
||||||
fileencoding = "utf-8",
|
fileencoding = "utf-8",
|
||||||
cmdheight = 0,
|
cmdheight = 0,
|
||||||
number = true,
|
number = true,
|
||||||
relativenumber = true,
|
relativenumber = true,
|
||||||
history = 100,
|
history = 100,
|
||||||
termguicolors = true,
|
termguicolors = true,
|
||||||
filetype = "on",
|
filetype = "on",
|
||||||
cursorline = true,
|
cursorline = true,
|
||||||
foldenable = true,
|
foldenable = true,
|
||||||
foldlevel = 99,
|
foldlevel = 99,
|
||||||
foldlevelstart = 99,
|
foldlevelstart = 99,
|
||||||
ignorecase = true,
|
ignorecase = true,
|
||||||
shiftwidth = 2,
|
shiftwidth = 2,
|
||||||
showtabline = 0,
|
showtabline = 0,
|
||||||
tabstop = 2,
|
tabstop = 2,
|
||||||
expandtab = true,
|
expandtab = true,
|
||||||
wrap = false,
|
wrap = false,
|
||||||
writebackup = false,
|
writebackup = false,
|
||||||
laststatus = 0,
|
laststatus = 0,
|
||||||
updatetime = 200,
|
updatetime = 200,
|
||||||
fillchars = "eob: ",
|
fillchars = "eob: ",
|
||||||
modeline = false,
|
modeline = false,
|
||||||
conceallevel = 2,
|
conceallevel = 2,
|
||||||
mouse = "",
|
mouse = "",
|
||||||
},
|
clipboard = "unnamedplus",
|
||||||
|
},
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
mapleader = " ",
|
mapleader = " ",
|
||||||
highlighturl_enabled = true,
|
highlighturl_enabled = true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
-- return {
|
|
||||||
-- "williamboman/mason-lspconfig.nvim",
|
|
||||||
-- dependencies = { "neovim/nvim-lspconfig" },
|
|
||||||
-- event = { "BufReadPost", "BufNewFile" },
|
|
||||||
-- opts = {
|
|
||||||
-- handlers = require("lsp.handlers"),
|
|
||||||
-- ensure_installed = {
|
|
||||||
-- "rust_analyzer",
|
|
||||||
-- "tsserver",
|
|
||||||
-- "lua_ls",
|
|
||||||
-- "bashls",
|
|
||||||
-- "cssls",
|
|
||||||
-- "tailwindcss",
|
|
||||||
-- "jsonls",
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- }
|
|
||||||
return {}
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
-- local icons = require("utils.icons").icons
|
|
||||||
--
|
|
||||||
-- return {
|
|
||||||
-- "williamboman/mason.nvim",
|
|
||||||
-- build = ":MasonUpdate",
|
|
||||||
-- opts = {
|
|
||||||
-- ui = {
|
|
||||||
-- border = "rounded",
|
|
||||||
-- icons = {
|
|
||||||
-- package_installed = icons.Check,
|
|
||||||
-- package_pending = icons.Dots,
|
|
||||||
-- package_uninstalled = icons.Install,
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- }
|
|
||||||
return {}
|
|
||||||
|
|
@ -1,25 +1,25 @@
|
||||||
return {
|
return {
|
||||||
"jose-elias-alvarez/null-ls.nvim",
|
"jose-elias-alvarez/null-ls.nvim",
|
||||||
event = { "BufReadPost", "BufNewFile" },
|
event = { "BufReadPost", "BufNewFile" },
|
||||||
config = function()
|
config = function()
|
||||||
local null_ls = require("null-ls")
|
local null_ls = require("null-ls")
|
||||||
|
|
||||||
null_ls.setup({
|
null_ls.setup({
|
||||||
debug = false,
|
debug = false,
|
||||||
sources = {
|
sources = {
|
||||||
null_ls.builtins.formatting.prettier,
|
null_ls.builtins.formatting.prettierd,
|
||||||
null_ls.builtins.formatting.stylua,
|
null_ls.builtins.formatting.stylua,
|
||||||
null_ls.builtins.formatting.rustfmt.with({
|
null_ls.builtins.formatting.rustfmt.with({
|
||||||
extra_args = { "--edition=2021" },
|
extra_args = { "--edition=2021" },
|
||||||
}),
|
}),
|
||||||
null_ls.builtins.formatting.shfmt.with({
|
null_ls.builtins.formatting.shfmt.with({
|
||||||
filetypes = { "sh", "zsh" },
|
filetypes = { "sh", "zsh" },
|
||||||
extra_args = { "--indent-type Spaces" },
|
extra_args = { "--indent-type Spaces" },
|
||||||
}),
|
}),
|
||||||
null_ls.builtins.formatting.clang_format.with({
|
null_ls.builtins.formatting.clang_format.with({
|
||||||
extra_args = { "-style={IndentWidth: 4, AllowShortFunctionsOnASingleLine: Empty}" },
|
extra_args = { "-style={IndentWidth: 4, AllowShortFunctionsOnASingleLine: Empty}" },
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue