diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua index dbf35cf..60d54db 100644 --- a/nvim/lua/config/lazy.lua +++ b/nvim/lua/config/lazy.lua @@ -12,6 +12,7 @@ require("lazy").setup({ { "LazyVim/LazyVim", import = "lazyvim.plugins" }, -- import any extras modules here { import = "lazyvim.plugins.extras.lang.typescript" }, + { import = "lazyvim.plugins.extras.lang.php" }, { import = "lazyvim.plugins.extras.lang.go" }, { import = "lazyvim.plugins.extras.lang.python" }, { import = "lazyvim.plugins.extras.lang.ruby" }, @@ -22,7 +23,6 @@ require("lazy").setup({ { import = "lazyvim.plugins.extras.linting.eslint" }, { import = "lazyvim.plugins.extras.test.core" }, { import = "lazyvim.plugins.extras.formatting.prettier" }, - { import = "lazyvim.plugins.extras.formatting.prettier" }, { import = "lazyvim.plugins.extras.editor.harpoon2" }, { import = "lazyvim.plugins.extras.dap.core" }, diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 6aef968..df2ab5b 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -57,3 +57,5 @@ vim.g.loaded_php_provider = 0 vim.cmd([[let &t_8f="\[38;2;%lu;%lu;%lum"]]) vim.cmd([[let &t_8b="\[48;2;%lu;%lu;%lum"]]) vim.cmd([[set termguicolors]]) + +vim.g.lazyvim_php_lsp = "intelephense" diff --git a/nvim/lua/plugins/emmet.lua b/nvim/lua/plugins/emmet.lua new file mode 100644 index 0000000..1f96293 --- /dev/null +++ b/nvim/lua/plugins/emmet.lua @@ -0,0 +1,6 @@ +return { + "olrtg/nvim-emmet", + config = function() + vim.keymap.set({ "n", "v" }, "xe", require("nvim-emmet").wrap_with_abbreviation) + end, +} diff --git a/nvim/lua/plugins/org.lua b/nvim/lua/plugins/org.lua deleted file mode 100644 index 3a2c331..0000000 --- a/nvim/lua/plugins/org.lua +++ /dev/null @@ -1,25 +0,0 @@ -return { - "nvim-orgmode/orgmode", - dependencies = { - { "nvim-treesitter/nvim-treesitter", lazy = true }, - }, - event = "VeryLazy", - config = function() - -- Load treesitter grammar for org - require("orgmode").setup_ts_grammar() - - -- Setup treesitter - require("nvim-treesitter.configs").setup({ - highlight = { - enable = true, - }, - ensure_installed = { "org" }, - }) - - -- Setup orgmode - require("orgmode").setup({ - org_agenda_files = "~/orgfiles/**/*", - org_default_notes_file = "~/orgfiles/refile.org", - }) - end, -} diff --git a/nvim/lua/plugins/pomo.lua b/nvim/lua/plugins/pomo.lua deleted file mode 100644 index 173f7a9..0000000 --- a/nvim/lua/plugins/pomo.lua +++ /dev/null @@ -1,13 +0,0 @@ -return { - "epwalsh/pomo.nvim", - version = "*", -- Recommended, use latest release instead of latest commit - lazy = true, - cmd = { "TimerStart", "TimerRepeat" }, - dependencies = { - -- Optional, but highly recommended if you want to use the "Default" timer - "rcarriga/nvim-notify", - }, - opts = { - -- See below for full list of options 👇 - }, -}