add luals config to zed
This commit is contained in:
parent
c5bc93250e
commit
6b2c9b9033
5 changed files with 410 additions and 311 deletions
|
|
@ -1,11 +1,3 @@
|
|||
// Zed settings
|
||||
//
|
||||
// For information on how to configure Zed, see the Zed
|
||||
// documentation: https://zed.dev/docs/configuring-zed
|
||||
//
|
||||
// To see all of Zed's default settings without changing your
|
||||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"git": {
|
||||
"inline_blame": {
|
||||
|
|
|
|||
|
|
@ -7,247 +7,344 @@
|
|||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"zoomed_padding": false,
|
||||
"active_pane_modifiers": {
|
||||
"border_size": -1.0
|
||||
},
|
||||
"window_decorations": "client",
|
||||
"close_on_file_delete": true,
|
||||
"file_finder": {
|
||||
"modal_max_width": "medium"
|
||||
},
|
||||
"use_smartcase_search": true,
|
||||
"colorize_brackets": true,
|
||||
"show_whitespaces": "selection",
|
||||
"always_treat_brackets_as_autoclosed": false,
|
||||
"vim": {
|
||||
"use_smartcase_find": true
|
||||
},
|
||||
"sticky_scroll": {
|
||||
"enabled": true
|
||||
},
|
||||
"scroll_beyond_last_line": "vertical_scroll_margin",
|
||||
"which_key": {
|
||||
"enabled": true
|
||||
},
|
||||
"rounded_selection": true,
|
||||
"current_line_highlight": "gutter",
|
||||
"cursor_shape": "bar",
|
||||
"session": {
|
||||
"trust_all_worktrees": true
|
||||
},
|
||||
"lsp_document_colors": "inlay",
|
||||
"inlay_hints": {
|
||||
"show_background": false,
|
||||
"show_other_hints": true,
|
||||
"show_parameter_hints": true,
|
||||
"show_type_hints": true,
|
||||
"show_value_hints": true,
|
||||
"enabled": true,
|
||||
},
|
||||
"languages": {
|
||||
"PHP": {
|
||||
"inlay_hints": {
|
||||
"enabled": true,
|
||||
},
|
||||
},
|
||||
"Markdown": {
|
||||
"enable_language_server": true,
|
||||
"language_servers": ["rumdl"],
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on",
|
||||
},
|
||||
},
|
||||
"git": {
|
||||
"inline_blame": {
|
||||
"enabled": false,
|
||||
},
|
||||
},
|
||||
"agent": {
|
||||
"button": true,
|
||||
"model_parameters": [],
|
||||
},
|
||||
"collaboration_panel": {
|
||||
"button": false,
|
||||
},
|
||||
"notification_panel": {
|
||||
"button": false,
|
||||
},
|
||||
"git_panel": {
|
||||
"tree_view": true,
|
||||
"collapse_untracked_diff": false,
|
||||
"sort_by_path": false,
|
||||
"status_style": "label_color",
|
||||
},
|
||||
"bottom_dock_layout": "contained",
|
||||
"preview_tabs": {
|
||||
"enable_preview_from_file_finder": true,
|
||||
},
|
||||
"tabs": {
|
||||
"show_diagnostics": "errors",
|
||||
"file_icons": true,
|
||||
"git_status": true,
|
||||
},
|
||||
"search": {
|
||||
"center_on_match": true,
|
||||
"button": false,
|
||||
},
|
||||
"diagnostics": {
|
||||
"inline": {
|
||||
"min_column": 0,
|
||||
"padding": 4,
|
||||
"enabled": true,
|
||||
},
|
||||
"button": true,
|
||||
},
|
||||
"debugger": {
|
||||
"button": true,
|
||||
},
|
||||
"status_bar": {
|
||||
"cursor_position_button": true,
|
||||
"active_language_button": true,
|
||||
},
|
||||
"project_panel": {
|
||||
"sort_mode": "directories_first",
|
||||
"hide_hidden": false,
|
||||
"show_diagnostics": "errors",
|
||||
"hide_root": true,
|
||||
"starts_open": false,
|
||||
"entry_spacing": "standard",
|
||||
"hide_gitignore": false,
|
||||
"button": true,
|
||||
},
|
||||
"toolbar": {
|
||||
"breadcrumbs": true,
|
||||
"selections_menu": true,
|
||||
"quick_actions": false,
|
||||
"code_actions": true,
|
||||
},
|
||||
"horizontal_scroll_margin": 25.0,
|
||||
"vertical_scroll_margin": 15.0,
|
||||
"use_system_window_tabs": false,
|
||||
"tab_bar": {
|
||||
"show_pinned_tabs_in_separate_row": false,
|
||||
"show_tab_bar_buttons": false,
|
||||
"show_nav_history_buttons": false,
|
||||
"show": true,
|
||||
},
|
||||
"title_bar": {
|
||||
"show_user_menu": false,
|
||||
"show_branch_icon": true,
|
||||
"show_branch_name": true,
|
||||
"show_project_items": true,
|
||||
"show_onboarding_banner": false,
|
||||
"show_menus": false,
|
||||
"show_user_picture": false,
|
||||
"show_sign_in": false,
|
||||
},
|
||||
"terminal": {
|
||||
"toolbar": {
|
||||
"breadcrumbs": false
|
||||
},
|
||||
"button": true,
|
||||
"font_size": 14.0,
|
||||
},
|
||||
"indent_guides": {
|
||||
"active_line_width": 1,
|
||||
"background_coloring": "disabled",
|
||||
"coloring": "fixed",
|
||||
},
|
||||
"tab_size": 2,
|
||||
"scrollbar": {
|
||||
"show": "never",
|
||||
},
|
||||
"auto_signature_help": true,
|
||||
"ui_font_family": "DejaVu Sans",
|
||||
"buffer_font_family": "JetBrainsMono Nerd Font",
|
||||
"icon_theme": {
|
||||
"mode": "system",
|
||||
"light": "Catppuccin Macchiato",
|
||||
"dark": "Catppuccin Macchiato",
|
||||
},
|
||||
"ssh_connections": [
|
||||
{
|
||||
"host": "GetDTE-Prod-App",
|
||||
"args": [],
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["/bcn/invoice-chile/scripts"],
|
||||
},
|
||||
{
|
||||
"paths": ["/bcn/workflow"],
|
||||
},
|
||||
{
|
||||
"paths": ["/bcn/workflow/piloto/php/./"],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"host": "t-800",
|
||||
"args": [],
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["/opt/stacks"],
|
||||
},
|
||||
],
|
||||
"nickname": "T-800",
|
||||
},
|
||||
{
|
||||
"host": "getwfr-2-piloto",
|
||||
"args": [],
|
||||
"projects": [],
|
||||
},
|
||||
{
|
||||
"host": "saria",
|
||||
"args": [],
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["/opt/stacks"],
|
||||
},
|
||||
],
|
||||
"nickname": "Saria",
|
||||
},
|
||||
{
|
||||
"host": "getwfr-2-prod",
|
||||
"args": [],
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["/bcn/workflow/produccion/php/./"],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
"disable_ai": false,
|
||||
"auto_update": false,
|
||||
"vim_mode": true,
|
||||
"ui_font_size": 16.0,
|
||||
"buffer_font_size": 14.0,
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "Catppuccin Macchiato",
|
||||
"dark": "Catppuccin Macchiato",
|
||||
},
|
||||
"lsp": {
|
||||
"rumdl": {
|
||||
"binary": {
|
||||
"path": "rumdl",
|
||||
"arguments": ["server"],
|
||||
},
|
||||
},
|
||||
"rust-analyzer": {
|
||||
"enable_lsp_tasks": true,
|
||||
"initialization_options": {
|
||||
"inlayHints": {
|
||||
"maxLength": null,
|
||||
"lifetimeElisionHints": {
|
||||
"enable": "skip_trivial",
|
||||
"useParameterNames": true,
|
||||
},
|
||||
"closureReturnTypeHints": {
|
||||
"enable": "always",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"formatter": "language_server",
|
||||
"zoomed_padding": false,
|
||||
"active_pane_modifiers": {
|
||||
"border_size": -1.0
|
||||
},
|
||||
"window_decorations": "client",
|
||||
"close_on_file_delete": true,
|
||||
"file_finder": {
|
||||
"modal_max_width": "medium"
|
||||
},
|
||||
"use_smartcase_search": true,
|
||||
"colorize_brackets": true,
|
||||
"show_whitespaces": "selection",
|
||||
"always_treat_brackets_as_autoclosed": false,
|
||||
"vim": {
|
||||
"use_smartcase_find": true
|
||||
},
|
||||
"sticky_scroll": {
|
||||
"enabled": true
|
||||
},
|
||||
"scroll_beyond_last_line": "vertical_scroll_margin",
|
||||
"which_key": {
|
||||
"enabled": true
|
||||
},
|
||||
"rounded_selection": true,
|
||||
"current_line_highlight": "gutter",
|
||||
"cursor_shape": "bar",
|
||||
"session": {
|
||||
"trust_all_worktrees": true
|
||||
},
|
||||
"lsp_document_colors": "inlay",
|
||||
"inlay_hints": {
|
||||
"show_background": false,
|
||||
"show_other_hints": true,
|
||||
"show_parameter_hints": true,
|
||||
"show_type_hints": true,
|
||||
"show_value_hints": true,
|
||||
"enabled": true
|
||||
},
|
||||
"languages": {
|
||||
"Lua": {
|
||||
"inlay_hints": {
|
||||
"enabled": true,
|
||||
"show_type_hints": true,
|
||||
"show_parameter_hints": true,
|
||||
"show_other_hints": true
|
||||
},
|
||||
"format_on_save": "on"
|
||||
},
|
||||
"Kdl": {
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "kdlfmt",
|
||||
"arguments": ["format", "-"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"PHP": {
|
||||
"inlay_hints": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"Markdown": {
|
||||
"enable_language_server": true,
|
||||
"language_servers": ["rumdl"],
|
||||
"use_on_type_format": true,
|
||||
"format_on_save": "on",
|
||||
"formatter": "language_server"
|
||||
},
|
||||
"JavaScript": {
|
||||
"language_servers": ["biome"],
|
||||
"formatter": "language_server",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.biome": true,
|
||||
"source.organizeImports.biome": true,
|
||||
"source.action.useSortedKeys.biome": true
|
||||
}
|
||||
},
|
||||
"TypeScript": {
|
||||
"language_servers": ["biome"],
|
||||
"formatter": "language_server",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.biome": true,
|
||||
"source.organizeImports.biome": true,
|
||||
"source.action.useSortedKeys.biome": true
|
||||
}
|
||||
},
|
||||
"TSX": {
|
||||
"language_servers": ["biome"],
|
||||
"formatter": "language_server",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.biome": true,
|
||||
"source.organizeImports.biome": true,
|
||||
"source.action.useSortedKeys.biome": true
|
||||
}
|
||||
},
|
||||
"CSS": {
|
||||
"language_servers": ["biome"],
|
||||
"formatter": "language_server"
|
||||
},
|
||||
"JSON": {
|
||||
"language_servers": ["biome"],
|
||||
"formatter": "language_server",
|
||||
"code_actions_on_format": {
|
||||
"source.action.useSortedKeys.biome": true,
|
||||
"source.fixAll.biome": true
|
||||
}
|
||||
},
|
||||
"JSONC": {
|
||||
"language_servers": ["biome"],
|
||||
"formatter": "language_server",
|
||||
"code_actions_on_format": {
|
||||
"source.action.useSortedKeys.biome": true,
|
||||
"source.fixAll.biome": true
|
||||
}
|
||||
},
|
||||
"HTML": {
|
||||
"formatter": "language_server"
|
||||
}
|
||||
},
|
||||
"git": {
|
||||
"inline_blame": {
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
"agent": {
|
||||
"button": true,
|
||||
"model_parameters": []
|
||||
},
|
||||
"collaboration_panel": {
|
||||
"button": false
|
||||
},
|
||||
"notification_panel": {
|
||||
"button": false
|
||||
},
|
||||
"git_panel": {
|
||||
"tree_view": true,
|
||||
"collapse_untracked_diff": false,
|
||||
"sort_by_path": false,
|
||||
"status_style": "label_color"
|
||||
},
|
||||
"bottom_dock_layout": "contained",
|
||||
"preview_tabs": {
|
||||
"enable_preview_from_file_finder": true
|
||||
},
|
||||
"tabs": {
|
||||
"show_diagnostics": "errors",
|
||||
"file_icons": true,
|
||||
"git_status": true
|
||||
},
|
||||
"search": {
|
||||
"center_on_match": true,
|
||||
"button": false
|
||||
},
|
||||
"diagnostics": {
|
||||
"inline": {
|
||||
"min_column": 0,
|
||||
"padding": 4,
|
||||
"enabled": true
|
||||
},
|
||||
"button": true
|
||||
},
|
||||
"debugger": {
|
||||
"button": true
|
||||
},
|
||||
"status_bar": {
|
||||
"cursor_position_button": true,
|
||||
"active_language_button": true
|
||||
},
|
||||
"project_panel": {
|
||||
"sort_mode": "directories_first",
|
||||
"hide_hidden": false,
|
||||
"show_diagnostics": "errors",
|
||||
"hide_root": true,
|
||||
"starts_open": false,
|
||||
"entry_spacing": "standard",
|
||||
"hide_gitignore": false,
|
||||
"button": true
|
||||
},
|
||||
"toolbar": {
|
||||
"breadcrumbs": true,
|
||||
"selections_menu": true,
|
||||
"quick_actions": false,
|
||||
"code_actions": true
|
||||
},
|
||||
"horizontal_scroll_margin": 25.0,
|
||||
"vertical_scroll_margin": 15.0,
|
||||
"use_system_window_tabs": false,
|
||||
"tab_bar": {
|
||||
"show_pinned_tabs_in_separate_row": false,
|
||||
"show_tab_bar_buttons": false,
|
||||
"show_nav_history_buttons": false,
|
||||
"show": true
|
||||
},
|
||||
"title_bar": {
|
||||
"show_user_menu": false,
|
||||
"show_branch_icon": true,
|
||||
"show_branch_name": true,
|
||||
"show_project_items": true,
|
||||
"show_onboarding_banner": false,
|
||||
"show_menus": false,
|
||||
"show_user_picture": false,
|
||||
"show_sign_in": false
|
||||
},
|
||||
"terminal": {
|
||||
"toolbar": {
|
||||
"breadcrumbs": false
|
||||
},
|
||||
"button": true,
|
||||
"font_size": 14.0
|
||||
},
|
||||
"indent_guides": {
|
||||
"active_line_width": 1,
|
||||
"background_coloring": "disabled",
|
||||
"coloring": "fixed"
|
||||
},
|
||||
"tab_size": 2,
|
||||
"scrollbar": {
|
||||
"show": "never"
|
||||
},
|
||||
"auto_signature_help": true,
|
||||
"ui_font_family": "DejaVu Sans",
|
||||
"buffer_font_family": "JetBrainsMono Nerd Font",
|
||||
"icon_theme": {
|
||||
"mode": "system",
|
||||
"light": "Catppuccin Macchiato",
|
||||
"dark": "Catppuccin Macchiato"
|
||||
},
|
||||
"ssh_connections": [
|
||||
{
|
||||
"host": "GetDTE-Prod-App",
|
||||
"args": [],
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["/bcn/invoice-chile/scripts"]
|
||||
},
|
||||
{
|
||||
"paths": ["/bcn/workflow"]
|
||||
},
|
||||
{
|
||||
"paths": ["/bcn/workflow/piloto/php/./"]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"host": "t-800",
|
||||
"args": [],
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["/opt/stacks"]
|
||||
}
|
||||
],
|
||||
"nickname": "T-800"
|
||||
},
|
||||
{
|
||||
"host": "getwfr-2-piloto",
|
||||
"args": [],
|
||||
"projects": []
|
||||
},
|
||||
{
|
||||
"host": "saria",
|
||||
"args": [],
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["/opt/stacks"]
|
||||
}
|
||||
],
|
||||
"nickname": "Saria"
|
||||
},
|
||||
{
|
||||
"host": "getwfr-2-prod",
|
||||
"args": [],
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["/bcn/workflow/produccion/php/./"]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"disable_ai": false,
|
||||
"auto_update": false,
|
||||
"vim_mode": true,
|
||||
"ui_font_size": 16.0,
|
||||
"buffer_font_size": 14.0,
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "Catppuccin Macchiato",
|
||||
"dark": "Catppuccin Macchiato"
|
||||
},
|
||||
"lsp": {
|
||||
"biome": {
|
||||
"enable_lsp_tasks": true,
|
||||
"settings": {
|
||||
"formatter": {
|
||||
"attributePosition": "multiline",
|
||||
"expand": "always"
|
||||
},
|
||||
"assist": {
|
||||
"actions": {
|
||||
"source": { "useSortedKeys": "on" }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rumdl": {
|
||||
"binary": {
|
||||
"path": "rumdl",
|
||||
"arguments": ["server"]
|
||||
}
|
||||
},
|
||||
"rust-analyzer": {
|
||||
"enable_lsp_tasks": true,
|
||||
"initialization_options": {
|
||||
"inlayHints": {
|
||||
"maxLength": null,
|
||||
"lifetimeElisionHints": {
|
||||
"enable": "skip_trivial",
|
||||
"useParameterNames": true
|
||||
},
|
||||
"closureReturnTypeHints": {
|
||||
"enable": "always"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"vscode-html-language-server": {
|
||||
"settings": {
|
||||
"html": {
|
||||
"format": {
|
||||
// Indent under <html> and <head> (default: false)
|
||||
"indentInnerHtml": true,
|
||||
// Disable formatting inside <svg> or <script>
|
||||
"contentUnformatted": "svg,script",
|
||||
// Add an extra newline before <div> and <p>
|
||||
"extraLiners": "div,p"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue