Skip to content

Commit a699b4c

Browse files
nvim(cmp): add sql
1 parent 4cfec83 commit a699b4c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

modules/nvim/default.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ let
1313
};
1414
};
1515

16+
cmp-sql = pkgs.vimUtils.buildVimPlugin {
17+
name = "cmp-sql";
18+
src = pkgs.fetchFromGitHub {
19+
owner = "ray-x";
20+
repo = "cmp-sql";
21+
rev = "54193ac99e3855c6ffaa36f83a7c50213df03157";
22+
sha256 = "sha256-ZQRomBw7Qr7ILC0B9KJx63OXi2UoG6aFvh06zLDZlR8=";
23+
};
24+
};
25+
1626
colorscheme = with pkgs.vimPlugins; [
1727
solarized-nvim
1828
];
@@ -102,6 +112,7 @@ let
102112
cmp-calc
103113
cmp-go-pkgs
104114
cmp-nvim-lua
115+
cmp-sql
105116
];
106117
in
107118
{

modules/nvim/lua/minizilla/misc.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ require('cmp').setup {
3838
sources = {
3939
{ name = 'calc' },
4040
{ name = 'go_pkgs' },
41-
{ name = 'nvim_lua' }
41+
{ name = 'nvim_lua' },
42+
{ name = 'sql' }
4243
}
4344
}

0 commit comments

Comments
 (0)