fix: plugin warnings and find config files which key binding

main
Ian Mancini 2 years ago
parent f06d9d2399
commit b01bdc6734

@ -49,23 +49,12 @@ return require("packer").startup(function()
config = [[ require('refactoring').setup({}) ]],
})
-- Tooling
use({
"WhoIsSethDaniel/mason-tool-installer.nvim",
{
"williamboman/mason.nvim",
config = [[ require('plugins.tooling') ]],
},
})
-- LSP
use({
"folke/lsp-colors.nvim", -- Color groups
{
-- Installer
"WhoIsSethDaniel/mason-tool-installer.nvim",
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
require = "williamboman/mason.nvim",
},
"folke/neodev.nvim", -- Lua
"jose-elias-alvarez/typescript.nvim", -- Typsecript
"jose-elias-alvarez/null-ls.nvim", -- Tooling

@ -1,5 +1,21 @@
local wk = require("which-key")
require("mason").setup()
require("mason-tool-installer").setup({
ensure_installed = {
"stylua",
"shellcheck",
"shfmt",
"editorconfig-checker",
"eslint_d",
"prettier",
"prettierd",
"flake8",
"black",
},
})
require("mason-lspconfig").setup({
automatic_installation = true,
})

@ -14,15 +14,11 @@ require("nvim-tree").setup({
disable_netrw = false,
hijack_netrw = true,
hijack_unnamed_buffer_when_opening = false,
ignore_buffer_on_setup = false,
open_on_setup = false,
open_on_setup_file = false,
open_on_tab = false,
sort_by = "name",
update_cwd = true,
reload_on_bufenter = false,
respect_buf_cwd = true,
ignore_ft_on_setup = {},
hijack_cursor = false,
update_focused_file = {
enable = true,

@ -74,7 +74,7 @@ wk.register({
f = {
f = { "<cmd>Telescope find_files<cr>", "Find file" },
p = {
[[<cmd>lua require('telescope.builtin').find_files{ cwd = '~/.config/nvim/' }<CR>]],
[[<cmd>lua require('telescope.builtin').git_files{ cwd = '~/.config/nvim/' }<CR>]],
"Find config file",
},
o = { "<cmd>Telescope oldfiles<cr>", "Open recent file" },

@ -1,15 +0,0 @@
require("mason").setup()
require("mason-tool-installer").setup({
ensure_installed = {
"stylua",
"shellcheck",
"shfmt",
"editorconfig-checker",
"eslint_d",
"prettier",
"prettierd",
"flake8",
"black",
},
})
Loading…
Cancel
Save