aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/init.lua
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2022-02-11 16:33:32 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2022-02-11 16:33:32 +0000
commit4417eb0a77892f4b24eeb5adc97b8890f14187fb (patch)
treeafae6a2e2f7b9c0ceb5109d8c5f4fd33df994d4d /.config/nvim/lua/custom/plugins/init.lua
parentf8acb4edc93d2570856381eb7fb6f75db3955cf6 (diff)
downloaddotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar
dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.gz
dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.bz2
dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.lz
dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.xz
dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.zst
dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.zip
Update NvChad config
Diffstat (limited to '')
-rw-r--r--.config/nvim/lua/custom/plugins/init.lua42
1 files changed, 42 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/init.lua b/.config/nvim/lua/custom/plugins/init.lua
new file mode 100644
index 0000000..5b40def
--- /dev/null
+++ b/.config/nvim/lua/custom/plugins/init.lua
@@ -0,0 +1,42 @@
+ return {
+{
+ "williamboman/nvim-lsp-installer",
+ config = function()
+ local lsp_installer = require "nvim-lsp-installer"
+
+ lsp_installer.on_server_ready(function(server)
+ local opts = {}
+
+ if server.name == "denols" then
+ opts.root_dir = vim.loop.cwd
+ end
+
+ server:setup(opts)
+ vim.cmd [[ do User LspAttachBuffers ]]
+ end)
+ end,
+ }
+ -- Custom stuff
+ ,{ "nathom/filetype.nvim" }
+
+ ,{
+ "karb94/neoscroll.nvim",
+ opt = true,
+ config = function()
+ require("neoscroll").setup()
+ end,
+
+ -- lazy loading
+ setup = function()
+ require("core.utils").packer_lazy_load "neoscroll.nvim"
+ end,
+ }
+
+ ,{
+ "prettier/vim-prettier",
+ }
+ ,{
+ "editorconfig/editorconfig-vim",
+ }
+
+}