From b7ef29a8886a57aadb787807a7c6cf74c1f0ed3a Mon Sep 17 00:00:00 2001 From: anand Date: Wed, 17 Dec 2025 15:57:55 +0530 Subject: Nixos --- nvim/lsp/snyk_ls.lua | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 nvim/lsp/snyk_ls.lua (limited to 'nvim/lsp/snyk_ls.lua') diff --git a/nvim/lsp/snyk_ls.lua b/nvim/lsp/snyk_ls.lua new file mode 100755 index 0000000..f748060 --- /dev/null +++ b/nvim/lsp/snyk_ls.lua @@ -0,0 +1,27 @@ +---@brief +--- +--- https://github.com/snyk/snyk-ls +--- +--- LSP for Snyk Open Source, Snyk Infrastructure as Code, and Snyk Code. +return { + cmd = { 'snyk-ls' }, + root_markers = { '.git', '.snyk' }, + filetypes = { + 'go', + 'gomod', + 'javascript', + 'typescript', + 'json', + 'python', + 'requirements', + 'helm', + 'yaml', + 'terraform', + 'terraform-vars', + }, + settings = {}, + -- Configuration from https://github.com/snyk/snyk-ls#configuration-1 + init_options = { + activateSnykCode = 'true', + }, +} -- cgit v1.2.3