add plugins

main
Adam Veldhousen 8 months ago
parent 68c65fe069
commit 2c3227c417
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -0,0 +1,41 @@
require('lualine').setup()
-- local lspconfig = require('lspconfig')
--
-- -- See `:help vim.diagnostic.*` for documentation on any of the below functions
-- vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
-- vim.keymap.set('n', '[d', vim.diagnostic.goto_prev)
-- vim.keymap.set('n', ']d', vim.diagnostic.goto_next)
-- vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist)
--
-- -- Use LspAttach autocommand to only map the following keys
-- -- after the language server attaches to the current buffer
-- vim.api.nvim_create_autocmd('LspAttach', {
-- group = vim.api.nvim_create_augroup('UserLspConfig', {}),
-- callback = function(ev)
-- -- Enable completion triggered by <c-x><c-o>
-- vim.bo[ev.buf].omnifunc = 'v:lua.vim.lsp.omnifunc'
--
-- -- Buffer local mappings.
-- -- See `:help vim.lsp.*` for documentation on any of the below functions
-- local opts = { buffer = ev.buf }
-- vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, opts)
-- vim.keymap.set('n', 'gd', vim.lsp.buf.definition, opts)
-- vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts)
-- vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, opts)
-- vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, opts)
-- vim.keymap.set('n', '<space>wa', vim.lsp.buf.add_workspace_folder, opts)
-- vim.keymap.set('n', '<space>wr', vim.lsp.buf.remove_workspace_folder, opts)
-- vim.keymap.set('n', '<space>wl', function()
-- print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
-- end, opts)
-- vim.keymap.set('n', '<space>D', vim.lsp.buf.type_definition, opts)
-- vim.keymap.set('n', '<space>rn', vim.lsp.buf.rename, opts)
-- vim.keymap.set({ 'n', 'v' }, '<space>ca', vim.lsp.buf.code_action, opts)
-- vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts)
-- vim.keymap.set('n', '<space>f', function()
-- vim.lsp.buf.format { async = true }
-- end, opts)
-- end,
-- })
--

@ -0,0 +1,63 @@
vim.cmd [[packadd packer.nvim]]
return require("packer").startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
-- Git
use 'tpope/vim-fugitive'
-- Utils
use 'scrooloose/syntastic'
use 'kien/ctrlp.vim'
use 'scrooloose/nerdtree'
use 'tpope/vim-dadbod'
-- use 'bling/vim-airline'
use {
'nvim-lualine/lualine.nvim',
requires = { 'nvim-tree/nvim-web-devicons', opt = true }
}
use 'tpope/vim-dispatch'
-- Themes
use 'wdhg/dragon-energy'
use 'FrancescoMagliocco/CmptrClr'
use 'sainnhe/gruvbox-material'
use 'cjgajard/patagonia-vim'
use 'ciaranm/inkpot'
use 'lsdr/monokai'
use 'chriskempson/vim-tomorrow-theme'
use 'vim-scripts/vilight.vim'
use 'dsolstad/vim-wombat256i'
use 'altercation/vim-colors-solarized'
use 'nanotech/jellybeans.vim'
use 'vim-scripts/ecostation'
use 'vim-scripts/rdark'
use 'trevorrjohn/vim-obsidian'
use 'sotte/presenting.vim'
-- Syntax Highlighting
use 'cakebaker/scss-syntax.vim'
use 'pangloss/vim-javascript'
use 'vim-ruby/vim-ruby'
use 'vim-scripts/matchit.zip'
use 'oscarh/vimerl'
use 'sukima/xmledit'
use 'mxw/vim-jsx'
use 'gorodinskiy/vim-coloresque'
use 'groenewege/vim-less'
use 'tpope/vim-markdown'
use 'tpope/vim-haml'
-- golang
use 'ray-x/go.nvim'
use 'ray-x/guihua.lua' -- recommanded if need floating window support
use 'neovim/nvim-lspconfig'
use 'nvim-treesitter/nvim-treesitter'
use 'nvim-lua/plenary.nvim'
end)
Loading…
Cancel
Save