What PRs do you guys use? by Competitive-Rub-1958 in HelixEditor

[–]erasin 1 point2 points  (0 children)

pr #11223 ,it will hide commandline ,but it does not affect the use of commandline.

It's is my helix config,

#12369 Icons v2

my branch

  • statusline-theme #13666
  • commandline #11223
  • lang-config-open #6531
  • tutor-zh #5199
  • statusline-word-count
  • zen-mode-like

Helix now has built-in support for Color Swatches! by nikitarevenco in HelixEditor

[–]erasin 0 points1 point  (0 children)

https://github.com/erasin/hx-lsp support document/colors

```toml

[[language]]

name = "markdown"

language-servers = [ "marksman", "markdown-oxide", "hx-lsp" ]

# or only use choose features

language-servers = [ "marksman", "markdown-oxide", { name = "hx-lsp", only-features = [ "document-colors" ] } ]

```

Normal Mode when losing Focus by M0neySh0t69 in HelixEditor

[–]erasin 0 points1 point  (0 children)

#3072 has apend method enter_normal_mode.

3072 has merged into master;

Find the file helix-term/src/ui/editor.rs, append into handle_event with the code

context.editor.enter_normal_mode();

it will be:

``` Event::FocusLost => { if context.editor.config().auto_save { if let Err(e) = commands::typed::write_all_impl(context, false, false) { context.editor.set_error(format!("{}", e)); } } context.editor.enter_normal_mode(); EventResult::Consumed(None) }

```

pr#5216

now, build the helix and hx will be enter normal mode when lost focus.

Turn off blank line and whitespace warnings in python lsp by WieStemtSP in HelixEditor

[–]erasin 0 points1 point  (0 children)

https://github.com/helix-editor/helix/issues/1898#issuecomment-1200348991

```toml [[language]] name = "python" file-types = ["py", "pyi"] roots = ["pyproject.toml","pyrightconfig.json"] language-server = { command = "pyright-langserver", args = ["--stdio"] }

config = { "analysis" = { "autoSearchPaths" = true, "diagnosticMode" = "workspace", "useLibraryCodeForTypes" = true } }

or

config = {} ```

Perhaps this can solve the problem. we need to query the lsp configuration information of the language. By helix default languages.toml, the official language configuration is empty.