Dot Files
info
You can enable the extra with the :LazyExtras
command.
Plugins marked as optional will only be configured if they are installed.
Below you can find a list of included plugins and their default settings.
caution
You don't need to copy the default settings to your config. They are only shown here for reference.
nvim-lspconfig
- Options
- Full Spec
opts = {
servers = {
bashls = {},
},
}
{
"neovim/nvim-lspconfig",
opts = {
servers = {
bashls = {},
},
},
}
mason.nvim
- Options
- Full Spec
opts = { ensure_installed = { "shellcheck" } }
{
"williamboman/mason.nvim",
opts = { ensure_installed = { "shellcheck" } },
}
nvim-treesitter
add some stuff to treesitter
- Options
- Full Spec
opts = function(_, opts)
local function add(lang)
if type(opts.ensure_installed) == "table" then
table.insert(opts.ensure_installed, lang)
end
end
vim.filetype.add({
extension = { rasi = "rasi", rofi = "rasi", wofi = "rasi" },
filename = {
["vifmrc"] = "vim",
},
pattern = {
[".*/waybar/config"] = "jsonc",
[".*/mako/config"] = "dosini",
[".*/kitty/.+%.conf"] = "kitty",
[".*/hypr/.+%.conf"] = "hyprlang",
["%.env%.[%w_.-]+"] = "sh",
},
})
vim.treesitter.language.register("bash", "kitty")
add("git_config")
if have("hypr") then
add("hyprlang")
end
if have("fish") then
add("fish")
end
if have("rofi") or have("wofi") then
add("rasi")
end
end
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
local function add(lang)
if type(opts.ensure_installed) == "table" then
table.insert(opts.ensure_installed, lang)
end
end
vim.filetype.add({
extension = { rasi = "rasi", rofi = "rasi", wofi = "rasi" },
filename = {
["vifmrc"] = "vim",
},
pattern = {
[".*/waybar/config"] = "jsonc",
[".*/mako/config"] = "dosini",
[".*/kitty/.+%.conf"] = "kitty",
[".*/hypr/.+%.conf"] = "hyprlang",
["%.env%.[%w_.-]+"] = "sh",
},
})
vim.treesitter.language.register("bash", "kitty")
add("git_config")
if have("hypr") then
add("hyprlang")
end
if have("fish") then
add("fish")
end
if have("rofi") or have("wofi") then
add("rasi")
end
end,
}