24 lines
828 B
Lua
24 lines
828 B
Lua
--- @meta
|
|
|
|
--- Framework-specific tool configurations and installation utilities for Neovim.
|
|
--- This module provides automatic installation of language servers and tools
|
|
--- based on the current development framework environment.
|
|
--- It reads the FRAMEWORK environment variable to determine which tools to install.
|
|
|
|
-- Import Mason utilities from separate module
|
|
local mason = require "polish.framework_mason_packages"
|
|
|
|
-- Create user command for Mason installation
|
|
vim.api.nvim_create_user_command(
|
|
"MasonInstallForFramework", -- Command name
|
|
mason.InstallMyMasonPackages, -- Function to call
|
|
{ nargs = 0 } -- Command takes no arguments
|
|
)
|
|
|
|
-- Module exports
|
|
return {
|
|
FRAMEWORK_TOOLS = mason.FRAMEWORK_TOOLS,
|
|
get_framework_tools = mason.get_framework_tools,
|
|
InstallMyMasonPackages = mason.InstallMyMasonPackages,
|
|
}
|