aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2022-10-16 13:46:54 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2022-10-16 13:46:54 +0000
commit151bb53d85eca60cab0e28f99b0c7e8c1fe0b988 (patch)
tree8caccea354fbf36a7afe1bf5f0be852bb644e244 /.config/nvim/lua/plugins.lua
parentc3e28c7ffcf1dc68fef04f541b1302df05d8e30c (diff)
downloaddotfiles-151bb53d85eca60cab0e28f99b0c7e8c1fe0b988.tar
dotfiles-151bb53d85eca60cab0e28f99b0c7e8c1fe0b988.tar.gz
dotfiles-151bb53d85eca60cab0e28f99b0c7e8c1fe0b988.tar.bz2
dotfiles-151bb53d85eca60cab0e28f99b0c7e8c1fe0b988.tar.lz
dotfiles-151bb53d85eca60cab0e28f99b0c7e8c1fe0b988.tar.xz
dotfiles-151bb53d85eca60cab0e28f99b0c7e8c1fe0b988.tar.zst
dotfiles-151bb53d85eca60cab0e28f99b0c7e8c1fe0b988.zip
Add some neovim stuff
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r--.config/nvim/lua/plugins.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 1f173da..60eebf0 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -57,6 +57,7 @@ local PKGS = {
{ url = "https://github.com/nanotee/sqls.nvim.git" };
{ url = "https://github.com/lvimuser/lsp-inlayhints.nvim.git" };
{ url = "https://github.com/sigmaSd/deno-nvim.git" };
+ { url = "https://github.com/ray-x/lsp_signature.nvim.git" };
-- Dev container
{ url = "https://codeberg.org/esensar/nvim-dev-container.git" };
@@ -129,7 +130,7 @@ local function init_plugins()
-- Available modes: foreground, background
mode = "foreground"; -- Set the display mode.
})
- vim.g.minimap_auto_start = 1
+ vim.g.minimap_auto_start = 0
vim.g.minimap_highlight_range = 1
vim.g.minimap_highlight_search = 1
@@ -177,6 +178,13 @@ local function init_plugins()
})
vim.fn["mkdp#util#install"]()
+ require("nvim-treesitter.configs").setup({
+ ensure_installed = { "javascript"; "typescript"; "lua"; "c_sharp"; "jsonc" };
+ sync_install = false;
+ auto_install = true;
+ highlight = { enable = true; disable = { "markdown"; "yaml"; "sql" } };
+ })
+
end
return {