diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-08-25 16:18:26 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-08-25 16:18:26 +0200 |
| commit | 16f394a68c63c2ad1287b83251d7564bb6e751fc (patch) | |
| tree | 01066fc417a1d95ea555a27b569b33a772caecec /lua | |
| parent | 3b7bf6fe1daf3960c9b2ccfe5eb137e236c03886 (diff) | |
| download | nvim-conf-16f394a68c63c2ad1287b83251d7564bb6e751fc.tar.gz nvim-conf-16f394a68c63c2ad1287b83251d7564bb6e751fc.zip | |
small updates
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/alpha/utils.lua | 13 | ||||
| -rw-r--r-- | lua/plugins/phpactor.lua | 2 | ||||
| -rw-r--r-- | lua/plugins/treesitter.lua | 1 |
3 files changed, 2 insertions, 14 deletions
diff --git a/lua/alpha/utils.lua b/lua/alpha/utils.lua index ee80a1c..b7b0fbc 100644 --- a/lua/alpha/utils.lua +++ b/lua/alpha/utils.lua @@ -1,19 +1,6 @@ local M = {} M.save_and_exec = function() - -- local source_commands = { - -- lua = "luafi %", - -- vim = "source %", - -- } - -- - -- local ft = vim.api.nvim_buf_get_option(0, "filetype") - -- local command = source_commands[ft] - -- if command == nil then - -- vim.notify("This type cant not be sourced", vim.log.levels.ERROR, { title = "Alpha Developer" }) - -- return - -- end - - -- Save and source vim.api.nvim_command "silent w" vim.api.nvim_command "so" diff --git a/lua/plugins/phpactor.lua b/lua/plugins/phpactor.lua index 1a13597..1988c92 100644 --- a/lua/plugins/phpactor.lua +++ b/lua/plugins/phpactor.lua @@ -52,7 +52,7 @@ return { }, opts = { install = { - bin = vim.fn.stdpath("data") .. '/mason/bin/phpactor' + bin = 'phpactor' }, lspconfig = { enabled = false, diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 2bead91..ba55910 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -17,6 +17,7 @@ return { "javascript", "json", "lua", + "luadoc", "markdown", "markdown_inline", "nix", |