fresh-editor 0.1.2

A lightweight, fast terminal-based text editor with LSP support and TypeScript plugins
Documentation
{
  "theme": "dark",
  "editor": {
    "tab_size": 4,
    "auto_indent": true,
    "line_numbers": true,
    "relative_line_numbers": false,
    "scroll_offset": 3,
    "syntax_highlighting": true,
    "highlight_timeout_ms": 5,
    "snapshot_interval": 100,
    "enable_inlay_hints": true
  },
  "keybindings": [],
  "languages": {
    "rust": {
      "extensions": ["rs"],
      "grammar": "rust",
      "comment_prefix": "//",
      "auto_indent": true
    }
  },
  "lsp": {
    "rust": {
      "command": "rust-analyzer",
      "args": [],
      "enabled": true,
      "process_limits": {
        "max_memory_mb": null,
        "max_cpu_percent": 90,
        "enabled": true
      }
    },
    "python": {
      "command": "pylsp",
      "args": [],
      "enabled": true
    },
    "javascript": {
      "command": "typescript-language-server",
      "args": ["--stdio"],
      "enabled": true
    },
    "typescript": {
      "command": "typescript-language-server",
      "args": ["--stdio"],
      "enabled": true
    },
    "html": {
      "command": "vscode-html-languageserver-bin",
      "args": ["--stdio"],
      "enabled": true
    },
    "css": {
      "command": "vscode-css-languageserver-bin",
      "args": ["--stdio"],
      "enabled": true
    },
    "c": {
      "command": "clangd",
      "args": [],
      "enabled": true
    },
    "cpp": {
      "command": "clangd",
      "args": [],
      "enabled": true
    },
    "go": {
      "command": "gopls",
      "args": [],
      "enabled": true
    },
    "json": {
      "command": "vscode-json-languageserver",
      "args": ["--stdio"],
      "enabled": true
    }
  },
  "_comment_lsp": "Process limits: max_memory_mb defaults to 50% of system memory if null, max_cpu_percent defaults to 90% of total CPU. Only enabled on Linux by default."
}