diff options
| author | adalessa <dalessandro.ariel@gmail.com> | 2023-03-08 14:47:11 +0100 |
|---|---|---|
| committer | adalessa <dalessandro.ariel@gmail.com> | 2023-03-08 14:47:11 +0100 |
| commit | f87abb79a2dfe439488c969fdc519e288558cdbd (patch) | |
| tree | 27e80945d939d501de33beabaef62d88725357b0 /lua | |
| parent | 17ec533d71a4d5968ff05676723244c9311140ed (diff) | |
| download | nvim-conf-f87abb79a2dfe439488c969fdc519e288558cdbd.tar.gz nvim-conf-f87abb79a2dfe439488c969fdc519e288558cdbd.zip | |
feat: add plugins, improve a bit code
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/alpha/snips/ft/php.lua | 4 | ||||
| -rw-r--r-- | lua/config/options.lua | 1 | ||||
| -rw-r--r-- | lua/plugins/laravel.lua | 1 | ||||
| -rw-r--r-- | lua/plugins/spectre.lua | 4 |
4 files changed, 2 insertions, 8 deletions
diff --git a/lua/alpha/snips/ft/php.lua b/lua/alpha/snips/ft/php.lua index 630673b..ac1c3fb 100644 --- a/lua/alpha/snips/ft/php.lua +++ b/lua/alpha/snips/ft/php.lua @@ -13,10 +13,6 @@ function string.starts(String, Start) return string.sub(String, 1, string.len(Start)) == Start end -local newline = function(text) - return t { "", text } -end - local visibility = function(position, default) local possibles = { "private", "protected", "public" } local options = {} diff --git a/lua/config/options.lua b/lua/config/options.lua index 1700513..c4d1f56 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -1,6 +1,5 @@ vim.g.mapleader = " " vim.g.snippets = "luasnip" -vim.g.laravel_log_level = "debug" local opt = vim.o diff --git a/lua/plugins/laravel.lua b/lua/plugins/laravel.lua index 4ffa66a..6f2ea82 100644 --- a/lua/plugins/laravel.lua +++ b/lua/plugins/laravel.lua @@ -10,6 +10,7 @@ return { }, event = { "VeryLazy" }, config = function() + vim.g.laravel_log_level = "debug" require("laravel").setup() require("telescope").load_extension "laravel" end, diff --git a/lua/plugins/spectre.lua b/lua/plugins/spectre.lua index 9c40a74..d9dacd1 100644 --- a/lua/plugins/spectre.lua +++ b/lua/plugins/spectre.lua @@ -1,7 +1,5 @@ return { "nvim-pack/nvim-spectre", - keys = {{"<leader>F", function () - return require("spectre").open() - end}}, + keys = {{"<leader>F", ":Spectre"}}, config = true, } |