all repos — dotfiles @ 773028e7a398845ac270918c11a11f8f38025248

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'
19require 'lsp.js'
20
21-- plugins not in nixpkgs
22
23require 'packer'.startup(function(use)
24  use {
25    'Pocco81/true-zen.nvim',
26    ft = {'markdown'},
27    config = function()
28      require 'true-zen'.setup{
29        integrations = {
30          tmux = true,
31        },
32        modes = {
33          ataraxis = {
34            auto_padding = true,
35            custom_bg = {'darken', 0.54},
36            quit_untoggles = false
37          }
38        }
39      }
40    end
41  }
42
43  use 'kana/vim-textobj-user'
44  use 'preservim/vim-textobj-quote'
45end)