Browse Source

chore: remove php-use-sort

master
Tovi Jaeschke-Rogers 5 months ago
parent
commit
6c16efb374
2 changed files with 2 additions and 22 deletions
  1. +2
    -2
      .config/nvim/lua/tovi/plugins/nvim-cmp.lua
  2. +0
    -20
      .config/nvim/lua/tovi/plugins/php-use-sort.lua

+ 2
- 2
.config/nvim/lua/tovi/plugins/nvim-cmp.lua View File

@ -84,8 +84,8 @@ return {
format = lspkind.cmp_format({ format = lspkind.cmp_format({
mode = "symbol_text", mode = "symbol_text",
menu = { menu = {
nvim_lua = "[API ]",
nvim_lsp = "[LSP ]",
nvim_lua = "[API]",
nvim_lsp = "[LSP]",
luasnip = "[SNIP]", luasnip = "[SNIP]",
vim_dadbod_completion = "[DBUI]", vim_dadbod_completion = "[DBUI]",
path = "[PATH]", path = "[PATH]",


+ 0
- 20
.config/nvim/lua/tovi/plugins/php-use-sort.lua View File

@ -1,20 +0,0 @@
return {
"ricardoramirezr/php-use-sort.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
ft = "php",
opts = {
order_by = "length",
order = "asc",
autocmd = true,
rm_unused = true,
},
config = function(opts)
require("php-use-sort").setup(opts)
vim.keymap.set("n", "<leader>su", ":PhpUseSort<CR>", {
desc = "Sort PHP use lines by length",
silent = true,
})
end,
}

Loading…
Cancel
Save