diff options
| author | seth <[email protected]> | 2022-08-02 05:07:11 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2022-08-04 04:41:05 -0400 |
| commit | 12527d71ea8b0921b910afa6bcd5fc6adf9649eb (patch) | |
| tree | 4f03e53496da4ae0401cc1fd1c51eb8387a54be5 /.config/nvim/lua/getchoo/plugins.lua | |
| parent | bd06652d62ccae12d2eb2e60a0120b767ba062a7 (diff) | |
start using lua :)
Diffstat (limited to '.config/nvim/lua/getchoo/plugins.lua')
| -rw-r--r-- | .config/nvim/lua/getchoo/plugins.lua | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/.config/nvim/lua/getchoo/plugins.lua b/.config/nvim/lua/getchoo/plugins.lua new file mode 100644 index 0000000..756a983 --- /dev/null +++ b/.config/nvim/lua/getchoo/plugins.lua @@ -0,0 +1,55 @@ +-- +-- plugins for neovim +-- + +local fn = vim.fn +local cmd = vim.cmd +local opt = vim.opt + + +local packer_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' + +if fn.empty(fn.glob(packer_path)) > 0 then + packer_bootstrap = fn.system({ + 'git', + 'clone', + '--depth', '1', + 'https://github.com/wbthomason/packer.nvim', + packer_path + }) + cmd [[packadd packer.nvim]] +end + +require('packer').startup(function(use) + use 'wbthomason/packer.nvim' + use { + 'nvim-treesitter/nvim-treesitter', + run = function() require('nvim-treesitter.install').update({ with_sync = true }) end, + } + use 'neovim/nvim-lspconfig' + use { 'ms-jpq/coq_nvim', run = 'python3 -m coq deps' } + use 'ms-jpq/coq.artifacts' + use 'ms-jpq/coq.thirdparty' + use 'mfussenegger/nvim-lint' + use { + 'nvim-lualine/lualine.nvim', + requires = { 'kyazdani42/nvim-web-devicons', opt = true } + } + use 'arcticicestudio/nord-vim' + use {'rose-pine/neovim', as = 'rose-pine'} + + if packer_bootstrap then + require('packer').sync() + end +end) + +require('nvim-treesitter.configs').setup { + auto_install = true +} + +require('lualine').setup { + options = { + theme = 'nord' + }, + extensions = {'nvim-tree'} +} |
