aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/alpha/telescope/setup.lua19
-rw-r--r--lua/config/lazy.lua3
-rw-r--r--lua/plugins/dressing.lua2
-rw-r--r--lua/plugins/lsp.lua9
-rw-r--r--lua/plugins/phpactor.lua5
-rw-r--r--lua/plugins/treesitter.lua3
6 files changed, 31 insertions, 10 deletions
diff --git a/lua/alpha/telescope/setup.lua b/lua/alpha/telescope/setup.lua
index 980e418..cd5ad63 100644
--- a/lua/alpha/telescope/setup.lua
+++ b/lua/alpha/telescope/setup.lua
@@ -153,13 +153,20 @@ require("telescope").setup {
},
["ui-select"] = {
- require("telescope.themes").get_cursor {
- -- even more opts
+ require("telescope.themes").get_dropdown {
+ borderchars = {
+ prompt = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" },
+ results = { "─", "│", "─", "│", "╭", "╮", "┤", "├" },
+ preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" },
+ },
+ width = 0.8,
+ previewer = false,
},
},
},
}
-_ = require("telescope").load_extension "notify"
-_ = require("telescope").load_extension "file_browser"
-_ = require("telescope").load_extension "ui-select"
-_ = require("telescope").load_extension "fzf"
+
+require("telescope").load_extension "notify"
+require("telescope").load_extension "file_browser"
+require("telescope").load_extension "ui-select"
+require("telescope").load_extension "fzf"
diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua
index 14f8740..ef480d4 100644
--- a/lua/config/lazy.lua
+++ b/lua/config/lazy.lua
@@ -21,6 +21,9 @@ require("lazy").setup {
fallback = true,
patterns = { "adalessa" },
},
+ ui = {
+ border = "rounded",
+ },
performance = {
rtp = {
disabled_plugins = {
diff --git a/lua/plugins/dressing.lua b/lua/plugins/dressing.lua
index b90abef..998e138 100644
--- a/lua/plugins/dressing.lua
+++ b/lua/plugins/dressing.lua
@@ -63,7 +63,7 @@ return {
},
select = {
-- Set to false to disable the vim.ui.select implementation
- enabled = true,
+ enabled = false,
-- Priority list of preferred vim.select implementations
backend = { "telescope", "fzf_lua", "fzf", "builtin", "nui" },
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua
index ef07653..6bf565e 100644
--- a/lua/plugins/lsp.lua
+++ b/lua/plugins/lsp.lua
@@ -7,7 +7,14 @@ return {
"adalessa/php-code-actions.nvim",
},
},
- "williamboman/mason.nvim",
+ {
+ "williamboman/mason.nvim",
+ opts = {
+ ui = {
+ border = "rounded",
+ },
+ },
+ },
"williamboman/mason-lspconfig.nvim",
"WhoIsSethDaniel/mason-tool-installer.nvim",
{
diff --git a/lua/plugins/phpactor.lua b/lua/plugins/phpactor.lua
index 4913325..8dec3ec 100644
--- a/lua/plugins/phpactor.lua
+++ b/lua/plugins/phpactor.lua
@@ -1,12 +1,15 @@
return {
"adalessa/phpactor.nvim",
cmd = { "PhpActor" },
+ keys = {
+ { "<leader>pa", ":PhpActor context_menu<cr>", desc = "PhpActor context menu" },
+ },
dependencies = {
"nvim-lua/plenary.nvim",
},
opts = {
install = {
- bin = vim.fn.stdpath("data") .. "/mason/bin/phpactor",
+ bin = vim.fn.stdpath "data" .. "/mason/bin/phpactor",
},
lspconfig = {
enabled = false,
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua
index d592366..beede2b 100644
--- a/lua/plugins/treesitter.lua
+++ b/lua/plugins/treesitter.lua
@@ -20,15 +20,16 @@ return {
"markdown",
"markdown_inline",
"nix",
+ "org",
"php",
"phpdoc",
"query",
"rust",
+ "sql",
"svelte",
"typescript",
"vim",
"yaml",
- "org",
},
highlight = {
enable = true,