summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/dts/packer.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/dts/packer.lua')
-rw-r--r--.config/nvim/lua/dts/packer.lua91
1 files changed, 0 insertions, 91 deletions
diff --git a/.config/nvim/lua/dts/packer.lua b/.config/nvim/lua/dts/packer.lua
deleted file mode 100644
index d3b8b30..0000000
--- a/.config/nvim/lua/dts/packer.lua
+++ /dev/null
@@ -1,91 +0,0 @@
--- This file can be loaded by calling `lua require("plugins")` from your init.vim
-
--- Only required if you have packer configured as `opt`
-vim.cmd [[packadd packer.nvim]]
-
-return require("packer").startup(function(use)
- -- Packer can manage itself
- use "wbthomason/packer.nvim"
-
- -- Automatically add closing brackets, etc.
- use {
- "windwp/nvim-autopairs",
- config = function()
- require("nvim-autopairs").setup()
- end
- }
-
- -- Split and join arrays and methods.
- -- gS to split one-liner into multiple lines.
- -- gJ to join a block into a single-line statement.
- use {
- "AndrewRadev/splitjoin.vim",
- config = function()
- vim.g.splitjoin_html_attributes_bracket_on_new_line = 1
- vim.g.splitjoin_trailing_comma = 1
- vim.g.splitjoin_php_method_chain_full = 1
- end
- }
-
- -- Automatically fix indentation when pasting.
- use "sickill/vim-pasta"
-
- -- Fuzzy finder.
- use {
- "nvim-telescope/telescope.nvim", tag = "0.1.1",
- requires = { {"nvim-lua/plenary.nvim"} }
- }
-
- -- Colorscheme.
- use "shaunsingh/nord.nvim"
-
- -- Treesitter.
- use({"nvim-treesitter/nvim-treesitter", run = ":TSUpdate"})
-
- -- Shows the context of the currently visible buffer contents.
- use("nvim-treesitter/nvim-treesitter-context");
-
- -- LSP.
- use {
- "VonHeikemen/lsp-zero.nvim",
- branch = "v1.x",
- requires = {
- -- LSP Support
- {"neovim/nvim-lspconfig"},
- {"williamboman/mason.nvim"},
- {"williamboman/mason-lspconfig.nvim"},
-
- -- Autocompletion
- {"hrsh7th/nvim-cmp"},
- {"hrsh7th/cmp-nvim-lsp"},
- {"hrsh7th/cmp-buffer"},
- {"hrsh7th/cmp-path"},
- {"saadparwaiz1/cmp_luasnip"},
- {"hrsh7th/cmp-nvim-lua"},
-
- -- Snippets
- {"L3MON4D3/LuaSnip"},
- {"rafamadriz/friendly-snippets"},
- }
- }
-
- -- Enable * seaching with visual selected text.
- use "nelstrom/vim-visual-star-search"
-
- -- Nice status line.
- use {
- "nvim-lualine/lualine.nvim",
- requires = {"nvim-tree/nvim-web-devicons"},
- }
-
- -- Nice buffer status line.
- use {
- "akinsho/bufferline.nvim",
- tag = "v3.*",
- requires = {"nvim-tree/nvim-web-devicons"},
- }
-
- -- Disraction free writing.
- use "folke/zen-mode.nvim"
-end)
-