From 2c85151e736938b3b1ddaf0fdba414de4bc4ab1d Mon Sep 17 00:00:00 2001 From: Dario48true Date: Wed, 15 Nov 2023 17:57:18 +0100 Subject: [PATCH] added ahk support --- lua/Dario48/plugins/ahk.lua | 6 ++++++ lua/Dario48/plugins/lsp-zero.lua | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 lua/Dario48/plugins/ahk.lua diff --git a/lua/Dario48/plugins/ahk.lua b/lua/Dario48/plugins/ahk.lua new file mode 100644 index 0000000..897f0d3 --- /dev/null +++ b/lua/Dario48/plugins/ahk.lua @@ -0,0 +1,6 @@ +return { + "DasGandlaf/nvim-autohotkey", + config = function () + require("nvim-autohotkey") + end +} diff --git a/lua/Dario48/plugins/lsp-zero.lua b/lua/Dario48/plugins/lsp-zero.lua index 062d8bd..c731b20 100644 --- a/lua/Dario48/plugins/lsp-zero.lua +++ b/lua/Dario48/plugins/lsp-zero.lua @@ -35,6 +35,8 @@ return { local cmp = require('cmp') local cmp_action = lsp_zero.cmp_action() + cmp.setup.filetype({ 'autohotkey' }, {sources = { { name = 'autohotkey' } },}) + cmp.setup({ sources = { {name = 'nvim_lsp'},