diff options
| author | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2023-08-27 14:27:32 -0400 |
|---|---|---|
| committer | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2023-08-27 14:27:32 -0400 |
| commit | effbea32afb26f365d81a5797b9c24bc6fd1aa81 (patch) | |
| tree | fdce74c417033c61bf0bfc423616e6e062c319fa /nvim/init.lua | |
| parent | f1d1edce5cc401147a31369f8d880da0bf3986bd (diff) | |
| parent | 313df8e85254a3ae848cad3cfa176a58594b3fb7 (diff) | |
Merge branch 'main' into nvim-cmp
Diffstat (limited to 'nvim/init.lua')
| -rw-r--r-- | nvim/init.lua | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/nvim/init.lua b/nvim/init.lua index 58e8625..3d35d32 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -4,11 +4,27 @@ HOME = os.getenv("HOME") +-- bootstrap lazynvim if not installed +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", -- latest stable release + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +-- leader +vim.g.mapleader = ' ' +vim.g.maplocalleader = ' ' + +require("lazy").setup('plugins') require('keymap') -require('plugins') -require('colorscheme') --- require('statusline') --- require('bufferline') +require('lsp') -- General Config vim.opt.number = true @@ -45,6 +61,5 @@ vim.opt.visualbell = true -- term settings vim.opt.termguicolors = true - --- leader -vim.g.mapleader = " " +-- tex syntax highlighting +vim.g.tex_flavor = "latex" |
