all repos — dotfiles @ 5351d6833635d341b38c1e322e03b3c18c77d39b

my *nix dotfiles

config/nvim/_init.lua (view raw)

 1-- loaded by home-manager; see: nix/programs/neovim.nix
 2
 3-- TODO: ref: https://github.com/neovim/neovim/pull/15436
 4-- require 'impatient'
 5
 6require 'settings'
 7require 'completion'
 8require 'maps'
 9require 'statusline.line'
10require 'treesitter'
11require 'fzy/fzy'
12
13-- lsp setup
14require 'lsp.config'
15require 'lsp.python'
16require 'lsp.go'
17require 'lsp.lua'
18require 'lsp.json'
19
20-- plugins not in nixpkgs
21
22require 'packer'.startup(function(use)
23  use {
24    'Pocco81/true-zen.nvim',
25    ft = {'markdown'},
26    config = function()
27      require 'true-zen'.setup{
28        integrations = {
29          tmux = true,
30        },
31        modes = {
32          ataraxis = {
33            auto_padding = true,
34            custom_bg = {'darken', 0.54},
35            quit_untoggles = false
36          }
37        }
38      }
39    end
40  }
41
42  use 'kana/vim-textobj-user'
43  use 'preservim/vim-textobj-quote'
44end)