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 'tree'
12require 'fzy/fzy'
13
14-- lsp setup
15require 'lsp.config'
16require 'lsp.python'
17require 'lsp.go'
18require 'lsp.lua'
19require 'lsp.json'
20require 'lsp.js'
21require 'lsp.rust'
22require 'lsp.copilot'
23
24-- plugins not in nixpkgs
25require 'packer'.startup(function(use)
26 use 'preservim/vim-textobj-quote'
27 use {
28 'CopilotC-Nvim/CopilotChat.nvim',
29 branch = 'canary',
30 requires = {
31 'nvim-lua/plenary.nvim',
32 },
33 }
34end)
35
36require 'dapx'