aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/move_analyzer.lua
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-11-14 23:43:38 +0300
committerawy <awy@awy.one>2025-11-14 23:43:38 +0300
commitc7a88a07b9287db9c129914483f6b3ae1ab5404c (patch)
tree73c227c5e8519eb9135f46984e4fc067b316ed1b /.config/nvim/lsp/move_analyzer.lua
downloadmangoslice-c7a88a07b9287db9c129914483f6b3ae1ab5404c.tar.gz
init
Diffstat (limited to '.config/nvim/lsp/move_analyzer.lua')
-rw-r--r--.config/nvim/lsp/move_analyzer.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/nvim/lsp/move_analyzer.lua b/.config/nvim/lsp/move_analyzer.lua
new file mode 100644
index 0000000..6670882
--- /dev/null
+++ b/.config/nvim/lsp/move_analyzer.lua
@@ -0,0 +1,20 @@
+---@brief
+---
+--- https://github.com/move-language/move/tree/main/language/move-analyzer
+---
+--- Language server for Move
+---
+--- The `move-analyzer` can be installed by running:
+---
+--- ```
+--- cargo install --git https://github.com/move-language/move move-analyzer
+--- ```
+---
+--- See [`move-analyzer`'s doc](https://github.com/move-language/move/blob/1b258a06e3c7d2bc9174578aac92cca3ac19de71/language/move-analyzer/editors/code/README.md#how-to-install) for details.
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'move-analyzer' },
+ filetypes = { 'move' },
+ root_markers = { 'Move.toml' },
+}