Skip to content

Commit 1b590dc

Browse files
authored
Merge #4010 from igorlfs/chore/type-annotations
2 parents 34c9ecf + ec27b24 commit 1b590dc

File tree

363 files changed

+383
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

363 files changed

+383
-36
lines changed

lsp/ada_ls.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
local util = require 'lspconfig.util'
2222

23+
---@type vim.lsp.Config
2324
return {
2425
cmd = { 'ada_language_server' },
2526
filetypes = { 'ada' },

lsp/agda_ls.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
local util = require 'lspconfig.util'
88

9+
---@type vim.lsp.Config
910
return {
1011
cmd = { 'als' },
1112
filetypes = { 'agda' },

lsp/aiken.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
--- [Installation](https://aiken-lang.org/installation-instructions)
77
---
88
--- It can be i
9+
---@type vim.lsp.Config
910
return {
1011
cmd = { 'aiken', 'lsp' },
1112
filetypes = { 'aiken' },

lsp/air.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
--- Air is an R formatter and language server, written in Rust.
66
---
77
--- Refer to the [documentation](https://posit-dev.github.io/air/editors.html) for more details.
8+
---@type vim.lsp.Config
89
return {
910
cmd = { 'air', 'language-server' },
1011
filetypes = { 'r' },

lsp/alloy_ls.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
--- ```
2222
---
2323
--- Alternatively, you may use a syntax plugin like https://github.com/runoshun/vim-alloy.
24+
---@type vim.lsp.Config
2425
return {
2526
cmd = { 'alloy', 'lsp' },
2627
filetypes = { 'alloy' },

lsp/anakin_language_server.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
---
99
--- * Initialization: https://github.com/muffinmad/anakin-language-server#initialization-option
1010
--- * Configuration: https://github.com/muffinmad/anakin-language-server#configuration-options
11+
---@type vim.lsp.Config
1112
return {
1213
cmd = { 'anakinls' },
1314
filetypes = { 'python' },

lsp/angularls.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ local ng_probe_dirs = vim
6868
end)
6969
:join(',')
7070

71+
---@type vim.lsp.Config
7172
return {
7273
cmd = {
7374
'ngserver',

lsp/ansiblels.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
--- ```sh
1010
--- npm install -g @ansible/ansible-language-server
1111
--- ```
12+
---@type vim.lsp.Config
1213
return {
1314
cmd = { 'ansible-language-server', '--stdio' },
1415
settings = {

lsp/antlersls.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
--- ```sh
77
--- npm install -g antlers-language-server
88
--- ```
9+
---@type vim.lsp.Config
910
return {
1011
cmd = { 'antlersls', '--stdio' },
1112
filetypes = { 'html', 'antlers' },

lsp/arduino_language_server.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070

7171
local util = require 'lspconfig.util'
7272

73+
---@type vim.lsp.Config
7374
return {
7475
filetypes = { 'arduino' },
7576
root_dir = function(bufnr, on_dir)

0 commit comments

Comments
 (0)