diff options
Diffstat (limited to 'lua/core')
| -rw-r--r-- | lua/core/mappings.lua | 2 | ||||
| -rw-r--r-- | lua/core/options.lua | 23 | ||||
| -rw-r--r-- | lua/core/plugins.lua | 53 |
3 files changed, 0 insertions, 78 deletions
diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua deleted file mode 100644 index 3640341..0000000 --- a/lua/core/mappings.lua +++ /dev/null @@ -1,2 +0,0 @@ -vim.g.mapleader = " " -- easy to reach leader key -vim.keymap.set("n", "-", vim.cmd.Ex) -- need nvim 0.8+ diff --git a/lua/core/options.lua b/lua/core/options.lua deleted file mode 100644 index de4903f..0000000 --- a/lua/core/options.lua +++ /dev/null @@ -1,23 +0,0 @@ -vim.opt.tabstop = 2 -vim.opt.shiftwidth = 2 -vim.opt.shiftround = true -- round indent to sw compatible -vim.opt.expandtab = true - -vim.opt.mouse = 'a' -vim.opt.clipboard = 'unnamedplus' --- Case insensitive searching UNLESS /C or capital in search -vim.opt.ignorecase = true -vim.opt.smartcase = true - --- Better editor UI -vim.opt.number = true --- vim.opt.numberwidth = 3 -vim.opt.relativenumber = true --- vim.opt.signcolumn = 'yes:2' -vim.opt.signcolumn = 'yes' -vim.opt.cursorline = false -vim.opt.listchars = 'trail:·,nbsp:◇,tab:→ ,extends:▸,precedes:◂,eol:⁋' -vim.diagnostic.config({ - -- virtual_lines = true, - virtual_text = true, -}) diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua deleted file mode 100644 index faeae4a..0000000 --- a/lua/core/plugins.lua +++ /dev/null @@ -1,53 +0,0 @@ -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", - lazypath, - }) -end -vim.opt.rtp:prepend(lazypath) - -require("lazy").setup({ - 'wbthomason/packer.nvim', - - -- Telescope and deps - { 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate' }, - 'nvim-telescope/telescope-symbols.nvim', - { - 'nvim-telescope/telescope.nvim', version = '0.1.5', - dependencies = { {'nvim-lua/plenary.nvim'} } - }, - - -- color scheme - { 'rose-pine/neovim', name = 'rose-pine' }, - - -- visual undo - 'mbbill/undotree', - - -- lsp - { - 'VonHeikemen/lsp-zero.nvim', - branch = 'v3.x', - dependencies = { - --- Uncomment these if you want to manage LSP servers from neovim - -- {'williamboman/mason.nvim'}, - -- {'williamboman/mason-lspconfig.nvim'}, - - -- LSP Support - {'neovim/nvim-lspconfig'}, - -- Autocompletion - {'hrsh7th/nvim-cmp'}, - {'hrsh7th/cmp-nvim-lsp'}, - {'L3MON4D3/LuaSnip'}, - } - }, - - { - 'nvim-lualine/lualine.nvim', - dependencies = { 'nvim-tree/nvim-web-devicons', lazy = true } - } -}) |
