Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/lsp/registry/policy.json

Raw
{
	"schemaVersion": 1,
	"revision": "ba40e547426b0f9896c8bdc699a4ab11f2b37dbc",
	"sha256": "365d39f08c94e792d685cb9f12020340daefeb7999ab4bb8202d4fe04b9fc273",
	"licenseSha256": "1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5",
	"selections": [
		{
			"id": "gopls",
			"language": "go",
			"extensions": [".go"]
		},
		{
			"id": "typescript-language-server",
			"language": "typescript",
			"extensions": [".ts"]
		},
		{
			"id": "clangd",
			"language": "cpp",
			"extensions": [".cpp", ".cc", ".cxx", ".hpp"]
		}
	],
	"previousSource": [
		{
			"id": "gopls",
			"command": "gopls",
			"args": [],
			"language": "go",
			"extensions": [".go"],
			"roots": ["go.work", "go.mod"],
			"initializationOptions": {
				"hints": {
					"assignVariableTypes": true,
					"compositeLiteralFields": true,
					"constantValues": true,
					"functionTypeParameters": true,
					"parameterNames": true,
					"rangeVariableTypes": true
				}
			},
			"settings": {}
		},
		{
			"id": "typescript-language-server",
			"command": "typescript-language-server",
			"args": ["--stdio"],
			"language": "typescript",
			"extensions": [".ts"],
			"roots": ["package.json", "tsconfig.json"],
			"initializationOptions": {
				"hostInfo": "helix",
				"typescript": {
					"inlayHints": {
						"includeInlayEnumMemberValueHints": true,
						"includeInlayFunctionLikeReturnTypeHints": true,
						"includeInlayFunctionParameterTypeHints": true,
						"includeInlayParameterNameHints": "all",
						"includeInlayParameterNameHintsWhenArgumentMatchesName": true,
						"includeInlayPropertyDeclarationTypeHints": true,
						"includeInlayVariableTypeHints": true
					}
				},
				"javascript": {
					"inlayHints": {
						"includeInlayEnumMemberValueHints": true,
						"includeInlayFunctionLikeReturnTypeHints": true,
						"includeInlayFunctionParameterTypeHints": true,
						"includeInlayParameterNameHints": "all",
						"includeInlayParameterNameHintsWhenArgumentMatchesName": true,
						"includeInlayPropertyDeclarationTypeHints": true,
						"includeInlayVariableTypeHints": true
					}
				}
			},
			"settings": {}
		},
		{
			"id": "clangd",
			"command": "clangd",
			"args": [],
			"language": "cpp",
			"extensions": [".cpp", ".cc", ".cxx", ".hpp"],
			"roots": [],
			"initializationOptions": {},
			"settings": {}
		}
	],
	"overrides": {
		"gopls": {
			"initializationOptions": {
				"value": {
					"fileWatcher": "fsnotify"
				},
				"reason": "Preserve verified gopls 0.24 experimental watcher for unopened dependency changes; omit editor inlay hints."
			},
			"settings": {
				"value": {
					"gopls": {
						"fileWatcher": "fsnotify"
					}
				},
				"reason": "Preserve existing gopls configuration exchange independently from initialization."
			}
		},
		"typescript-language-server": {
			"initializationOptions": {
				"value": { "tsserver": { "useSyntaxServer": "never" } },
				"reason": "Route semantic navigation through the semantic server, not the default partial-semantic startup fallback; omit editor hints and host identity."
			}
		},
		"clangd": {
			"roots": {
				"value": [".clangd", "compile_commands.json", "CMakeLists.txt"],
				"reason": "Helix cpp supplies no roots; select explicit project markers for independent C++ workspaces."
			}
		}
	}
}