From 23cf0f1b2e8f32cb07055570250a7567be9e3ef7 Mon Sep 17 00:00:00 2001 From: Nikurasu Date: Fri, 23 Dec 2022 10:17:14 +0100 Subject: [PATCH] Remove old neovim config --- nvim/init.lua.old | 85 ----------------------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 nvim/init.lua.old diff --git a/nvim/init.lua.old b/nvim/init.lua.old deleted file mode 100644 index e570609..0000000 --- a/nvim/init.lua.old +++ /dev/null @@ -1,85 +0,0 @@ -vim.opt.number = true -vim.opt.relativenumber = true -vim.opt.ignorecase = true -vim.opt.tabstop = 2 -vim.opt.shiftwidth = 2 -vim.opt.expandtab = true - -vim.g.mapleader = ' ' - -vim.keymap.set('', 'tt', ':NvimTreeToggle') - -vim.keymap.set('n', 'bl', ':buffers') - -vim.cmd('colorscheme base16-material-darker') - -require("transparent").setup({ - enable = true, -}) - -require'nvim-treesitter.configs'.setup { - ensure_installed = { "vim", "c", "lua", "kotlin", "javascript", "typescript" }, - highlight = { - enable = true, - additional_vim_regex_highlighting = false, - }, - rainbow = { - enable = true, - extended_mode = true, - max_file_lines = nil, - } -} - -require("nvim-tree").setup({ - open_on_setup = false, - actions = { - open_file = { - quit_on_open = true, - } - } -}) - -vim.api.nvim_create_autocmd("BufEnter", { - nested = true, - callback = function() - if #vim.api.nvim_list_wins() == 1 and require("nvim-tree.utils").is_nvim_tree_buf() then - vim.cmd "quit" - end - end -}) - -require('lualine').setup({ - options = { - theme = 'base16', - section_separators = { left = '', right = '' } - }, - extensions = {'nvim-tree'} -}) - -return require('packer').startup(function(use) - use 'wbthomason/packer.nvim' - use { - 'nvim-treesitter/nvim-treesitter', - run = function() - local ts_update = require('nvim-treesitter.install').update({ with_sync = true }) - ts_update() - end, - } - use 'p00f/nvim-ts-rainbow' - use 'jiangmiao/auto-pairs' - use { - 'nvim-tree/nvim-tree.lua', - requires = { - 'nvim-tree/nvim-web-devicons', - } - } - use { - 'nvim-lualine/lualine.nvim', - requires = { - 'kyazdani42/nvim-web-devicons', - } - } - use 'RRethy/nvim-base16' - use 'xiyaowong/nvim-transparent' -end) -