From 6c1793d98f244f0b6fc1b9eb163647dc9032f358 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 3 Sep 2021 22:22:12 -0600 Subject: More work on lua config --- init.lua.backup | 70 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 33 deletions(-) (limited to 'init.lua.backup') 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 / Telescope live_grep" vim.cmd "nnoremap fb Telescope buffers" vim.cmd "nnoremap fg lua require('telescope.builtin').git_status()" +--[[ 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 m :RnvimrToggle" vim.cmd "let g:rnvimr_action = { '': 'NvimEdit tabedit' }" +]]-- -vim.cmd "au BufWritePost lua require('lint').try_lint()" +--vim.cmd "au BufWritePost 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) -- cgit v1.2.3