-- Plugins return require('packer').startup(function() use "wbthomason/packer.nvim" use "folke/tokyonight.nvim" use "mikavilpas/yazi.nvim" use {"akinsho/toggleterm.nvim", tag = '*', config = function() require("toggleterm").setup() end} use {"nvim-treesitter/nvim-treesitter", run = ':TSUpdate', config = function() require('nvim-treesitter.configs').setup { ensure_installed = {'bash', 'c', 'css', 'dockerfile', 'fish', 'html', 'java', 'javascript', 'json', 'lua', 'luadoc', 'luap', 'markdown', 'markdown_inline', 'nix', 'python', 'query', 'regex', 'ruby', 'rust', 'scss', 'svelte', 'tsx', 'typescript', 'vim', 'vimdoc', 'vue', 'yaml',}, sync_install = false, auto_install = true, highlight = { enabled = true, additional_vim_regex_highlighting = false }, indent = { enable = true, }, autotag = { enable = true, }, rainbow = { enable = true, extended_mode = true, max_file_lines = 1000, }, } end } use {"windwp/nvim-autopairs", event="InsertEnter", config = function () require("nvim-autopairs").setup {} end } use {"nvim-telescope/telescope.nvim", tag = '0.1.8', requires = { "nvim-lua/plenary.nvim", "BurntSushi/ripgrep" } } use {"stevearc/oil.nvim", config = function() require("oil").setup({ delete_to_trash = true, }) end, } -- LSP Setup use "williamboman/mason.nvim" use { "neovim/nvim-lspconfig", dependencies = { "folke/lazydev.nvim", ft = "lua", opts = { library = { { path = "${3rd}/luv/library", words = { "vim%.uv" } }, }, }, }, config = function() require("lspconfig").lua_ls.setup() {} end, } end)