dotfiles

[ACTIVE] managed with chezmoi
git clone git://git.figbert.com/dotfiles.git
Log | Files | Refs

commit a90d6d0011be0cb0239f275b9a13b7061970b07b
parent 464c69f562787e83cf38bac856b4a2dd7812a517
Author: FIGBERT <figbert@figbert.com>
Date:   Fri, 23 Jul 2021 15:39:47 -0700

Update NeoVim configuration

This update:
  - adds the whick-key.nvim plugin
  - resets g.vimwiki_conceallevel to its default
  - ensures consistent use of double quotes throughout the file

Diffstat:
Mdot_config/nvim/init.lua.tmpl | 22++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/dot_config/nvim/init.lua.tmpl b/dot_config/nvim/init.lua.tmpl @@ -19,6 +19,7 @@ vim.opt.showcmd = true vim.opt.hlsearch = true vim.opt.incsearch = true vim.opt.termguicolors = true +vim.opt.timeoutlen = 500 vim.opt.guicursor = "" vim.opt.completeopt = "menuone,noinsert,noselect" vim.cmd("colorscheme apple") @@ -26,7 +27,6 @@ vim.cmd("colorscheme apple") ----- VIMWIKI ----- vim.g.vimwiki_list = { { path = "~/workspace/wiki/" } } vim.g.vimwiki_global_ext = 1 -vim.g.vimwiki_conceallevel = 0 ----- CONTROLS ----- map("", "<Up>", "<Nop>") @@ -65,6 +65,7 @@ require "paq-nvim" { "folke/zen-mode.nvim"; "hoob3rt/lualine.nvim"; "pirmd/gemini.vim"; + "folke/which-key.nvim"; } require("zen-mode").setup { window = { @@ -74,7 +75,8 @@ require("zen-mode").setup { } } } -require('lualine').setup { options = { theme = "horizon" } } +require("lualine").setup { options = { theme = "horizon" } } +require("which-key").setup{} ----- LANGUAGE SERVERS ----- vim.cmd("autocmd BufEnter * lua require'completion'.on_attach()") @@ -82,11 +84,11 @@ vim.cmd("autocmd BufEnter * lua require'completion'.on_attach()") local ts = require "nvim-treesitter.configs" ts.setup { ensure_installed = "maintained", highlight = { enable = true }} -require'lspconfig'.gdscript.setup{} -require'lspconfig'.denols.setup{} -require'lspconfig'.sourcekit.setup{} -require'lspconfig'.html.setup{} -require'lspconfig'.cssls.setup{} -require'lspconfig'.gopls.setup{} -require'lspconfig'.rust_analyzer.setup{} -require'lspconfig'.zls.setup{} +require"lspconfig".gdscript.setup{} +require"lspconfig".denols.setup{} +require"lspconfig".sourcekit.setup{} +require"lspconfig".html.setup{} +require"lspconfig".cssls.setup{} +require"lspconfig".gopls.setup{} +require"lspconfig".rust_analyzer.setup{} +require"lspconfig".zls.setup{}