diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2023-02-09 19:29:27 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2023-02-09 19:29:27 +0000 |
commit | 938e3fc26f7cddf3c2173f326be2a6b8bf1326f3 (patch) | |
tree | 1351693639b91221c08bebe87e8a8f8e7c1f51f2 /.config/nvim | |
parent | 0a56dfa33a6c00df4ab06eca6eefba8cd80820f5 (diff) | |
download | dotfiles-938e3fc26f7cddf3c2173f326be2a6b8bf1326f3.tar dotfiles-938e3fc26f7cddf3c2173f326be2a6b8bf1326f3.tar.gz dotfiles-938e3fc26f7cddf3c2173f326be2a6b8bf1326f3.tar.bz2 dotfiles-938e3fc26f7cddf3c2173f326be2a6b8bf1326f3.tar.lz dotfiles-938e3fc26f7cddf3c2173f326be2a6b8bf1326f3.tar.xz dotfiles-938e3fc26f7cddf3c2173f326be2a6b8bf1326f3.tar.zst dotfiles-938e3fc26f7cddf3c2173f326be2a6b8bf1326f3.zip |
Set scrolloff in neovim and add tcsh support
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/lua/general.lua | 3 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.config/nvim/lua/general.lua b/.config/nvim/lua/general.lua index 28b4980..8864a2e 100644 --- a/.config/nvim/lua/general.lua +++ b/.config/nvim/lua/general.lua @@ -8,7 +8,8 @@ vim.opt.undofile = true vim.opt.backupcopy = "yes" vim.opt.undolevels = 1000 vim.opt.wrap = false -vim.opt.colorcolumn = "80,120" +vim.opt.colorcolumn = "80" +vim.opt.scrolloff = 5 -- vim.opt.tabstop = 4 -- vim.opt.softtabstop = -1 diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index a6a411b..de3025e 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -42,6 +42,7 @@ local PKGS = { { url = "https://github.com/editorconfig/editorconfig-vim.git" }; { url = "https://github.com/nathom/filetype.nvim.git" }; { url = "https://github.com/wfxr/minimap.vim.git" }; + { url = "https://github.com/edluffy/hologram.nvim.git" }; -- LSP { url = "https://github.com/neovim/nvim-lspconfig.git" }; @@ -180,7 +181,8 @@ local function init_plugins() -- or leave it empty to use the default settings -- refer to the configuration section below }) - vim.fn["mkdp#util#install"]() + + require('hologram').setup({}) require("nvim-treesitter.configs").setup({ ensure_installed = { "javascript"; "typescript"; "lua"; "c_sharp"; "jsonc" }; |