chore(nvim): tweak settings, update plugins

This commit is contained in:
2023-09-21 13:14:15 +03:00
parent 3d65fdee43
commit c8c34dcc81
5 changed files with 31 additions and 15 deletions

View File

@@ -105,7 +105,7 @@ return {
init = function()
require("lazyvim.util").on_attach(function(_, buffer)
-- stylua: ignore
vim.keymap.set( "n", "<leader>co", "TypescriptOrganizeImports", { buffer = buffer, desc = "Organize Imports" })
vim.keymap.set("n", "<leader>co", "TypescriptOrganizeImports", { buffer = buffer, desc = "Organize Imports" })
vim.keymap.set("n", "<leader>cR", "TypescriptRenameFile", { desc = "Rename File", buffer = buffer })
end)
end,

View File

@@ -1,9 +1,24 @@
return {
-- A neovim lua plugin to help easily manage multiple terminal windows
-- https://github.com/akinsho/toggleterm.nvim
{
"akinsho/toggleterm.nvim",
version = "*",
config = true,
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"actionlint",
"ansible-lint",
"bash-language-server",
"commitlint",
"flake8",
"intelephense",
"jsonlint",
"luacheck",
"phpcs",
"phpmd",
"shellcheck",
"shfmt",
"stylelint",
"stylua",
"yamllint",
},
},
},
}

View File

@@ -57,7 +57,7 @@ return {
"anuvyklack/animation.nvim",
},
config = function()
vim.o.winwidth = 10
vim.o.winwidth = 15
vim.o.winminwidth = 10
vim.o.equalalways = false
require("windows").setup()