aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-12-29 14:43:22 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-12-29 14:43:22 +0100
commit5195a215d1ceb8e53d49699fbf5bbc1d4d8b81ba (patch)
treeffb470b8dca3645c5a66a4623d1b1614d7235e51 /after/plugin
parent2fed1e692f77d541ce88cffb23100ebba7894e71 (diff)
downloadnvim-conf-5195a215d1ceb8e53d49699fbf5bbc1d4d8b81ba.tar.gz
nvim-conf-5195a215d1ceb8e53d49699fbf5bbc1d4d8b81ba.zip
remove floaterm, update null ls to use global phpstan, remove gpt plugin
Diffstat (limited to 'after/plugin')
-rw-r--r--after/plugin/floatterm.lua15
-rw-r--r--after/plugin/null-ls.lua4
2 files changed, 0 insertions, 19 deletions
diff --git a/after/plugin/floatterm.lua b/after/plugin/floatterm.lua
deleted file mode 100644
index a899e63..0000000
--- a/after/plugin/floatterm.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-vim.keymap.set({ "n", "t" }, "``", function()
- vim.cmd([[FloatermToggle]])
-end, {})
-
-vim.keymap.set({ "n", "t" }, "`n", function()
- vim.cmd([[FloatermNext]])
-end, {})
-
-vim.keymap.set({ "n", "t" }, "`p", function()
- vim.cmd([[FloatermPrev]])
-end, {})
-
-vim.keymap.set({ "n", "t" }, "`c", function()
- vim.cmd([[FloatermNew]])
-end, {})
diff --git a/after/plugin/null-ls.lua b/after/plugin/null-ls.lua
index 5770335..b3bc7d1 100644
--- a/after/plugin/null-ls.lua
+++ b/after/plugin/null-ls.lua
@@ -27,7 +27,6 @@ local sources = {
-- Maybe sources per type of project
local laravel_sources = {
null_ls.builtins.diagnostics.phpstan.with({
- command = "./vendor/bin/phpstan",
to_temp_file = false,
method = null_ls.methods.DIAGNOSTICS_ON_SAVE,
}),
@@ -38,12 +37,10 @@ local laravel_sources = {
local symonfy_sources = {
null_ls.builtins.diagnostics.phpstan.with({
- command = "./bin/phpstan",
to_temp_file = false,
method = null_ls.methods.DIAGNOSTICS_ON_SAVE,
}),
null_ls.builtins.diagnostics.phpcs.with({
- command = "./bin/phpcs",
method = null_ls.methods.DIAGNOSTICS_ON_SAVE,
}),
}
@@ -60,7 +57,6 @@ else
table.insert(
sources,
null_ls.builtins.diagnostics.phpstan.with({
- command = "./vendor/bin/phpstan",
to_temp_file = false,
method = null_ls.methods.DIAGNOSTICS_ON_SAVE,
})