nvim surround

This commit is contained in:
Rachel Lambda Samuelsson 2023-11-11 22:31:07 +01:00
parent 93d8144c50
commit f536566a01

View File

@ -149,8 +149,9 @@ in
enable = true; enable = true;
vimAlias = true; vimAlias = true;
extraLuaConfig = '' extraLuaConfig = ''
require("tmux").setup({ copy_sync = { redirect_to_clipboard = true } }); require('tmux').setup({ copy_sync = { redirect_to_clipboard = true } });
require('Comment').setup() require('Comment').setup()
require('nvim-surround').setup()
local lspcfg = require('lspconfig') local lspcfg = require('lspconfig')
lspcfg.typst_lsp.setup({ lspcfg.typst_lsp.setup({
cmd = { '${pkgs.typst-lsp}/bin/typst-lsp' }, cmd = { '${pkgs.typst-lsp}/bin/typst-lsp' },
@ -224,7 +225,7 @@ in
endfunction endfunction
''; '';
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
surround-nvim nvim-surround
comment-nvim comment-nvim
vimtex vimtex
gruvbox-nvim gruvbox-nvim