aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/custom/plugins')
-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",
+ }
+
+}