diff options
author | Cody Hiar <cody@hiar.ca> | 2021-09-03 22:22:12 -0600 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2021-09-03 22:22:12 -0600 |
commit | 6c1793d98f244f0b6fc1b9eb163647dc9032f358 (patch) | |
tree | 7cbd2adaf8da86d17b8251938bf71a2fdf224f7f /init.lua.backup | |
parent | 227899a5a0edf9e449d0697eb5e387dd5ea942ed (diff) |
More work on lua config
Diffstat (limited to 'init.lua.backup')
-rw-r--r-- | init.lua.backup | 70 |
1 files changed, 37 insertions, 33 deletions
diff --git a/init.lua.backup b/init.lua.backup index 7460139..8dbeee2 100644 --- a/init.lua.backup +++ b/init.lua.backup @@ -9,8 +9,8 @@ local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' if fn.empty(fn.glob(install_path)) > 0 then - fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) - vim.cmd 'packadd packer.nvim' + fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) + vim.cmd 'packadd packer.nvim' end -- Install My Stuff @@ -23,44 +23,48 @@ vim.cmd "nnoremap <space>/ <cmd>Telescope live_grep<cr>" vim.cmd "nnoremap <space>fb <cmd>Telescope buffers<cr>" vim.cmd "nnoremap <space>fg <cmd>lua require('telescope.builtin').git_status()<cr>" +--[[ vim.cmd "let g:python3_host_prog = expand('~/venv/bin/python3')" vim.cmd "let g:rnvimr_enable_ex = 1" vim.cmd "let g:rnvimr_enable_picker = 1" vim.cmd "nnoremap <space>m :RnvimrToggle<CR>" vim.cmd "let g:rnvimr_action = { '<CR>': 'NvimEdit tabedit' }" +]]-- -vim.cmd "au BufWritePost <buffer> lua require('lint').try_lint()" +--vim.cmd "au BufWritePost <buffer> lua require('lint').try_lint()" return require('packer').startup(function() - use 'wbthomason/packer.nvim' - use 'Thornycrackers-Forks/nord-vim' - use { - 'nvim-treesitter/nvim-treesitter', - run = ':TSUpdate', - config = function() - require "treesitterconf" - end, - } - use { - "neovim/nvim-lspconfig", - config = function() - require "lspconfigconf" - end, - } - use 'nvim-treesitter/playground' - use { - 'nvim-telescope/telescope.nvim', - requires = { {'nvim-lua/plenary.nvim'} }, - config = function() - require "telescopeconf" - end, - } - use 'kevinhwang91/rnvimr' - use { - 'jose-elias-alvarez/null-ls.nvim', - config = function() - require "nvimlintconf" - end, - } + use 'wbthomason/packer.nvim' + use 'Thornycrackers-Forks/nord-vim' + use { + 'nvim-treesitter/nvim-treesitter', + run = ':TSUpdate', + config = function() + require "treesitterconf" + end, + } + use { + "neovim/nvim-lspconfig", + config = function() + require "lspconfigconf" + end, + } + use 'nvim-treesitter/playground' + use { + 'nvim-telescope/telescope.nvim', + requires = { {'nvim-lua/plenary.nvim'} }, + config = function() + require "telescopeconf" + end, + } + -- use 'kevinhwang91/rnvimr' + --[[ + use { + 'jose-elias-alvarez/null-ls.nvim', + config = function() + require "nvimlintconf" + end, + } + ]]-- end) |