+
Skip to content

heaths/helix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helix Configuration

My configuration for the Helix editor.

Clone

Linux and macOS

git clone https://github.com/heaths/helix ~/.config/helix

Windows

git clone 'https://github.com/heaths/helix' $env:APPDATA/helix

Installation

See Installing Helix for more options.

Ubuntu

sudo add-apt-repository ppa:maveonair/helix-editor
sudo apt update
sudo apt install helix

Windows

winget install -e Helix.Helix

Install xclip in WSL2 on Windows 11 to use the system clipboard:

sudo apt install xclip

macOS

brew install helix

Language Support

See Language Server Configurations for more options.

Bash

npm i -g bash-language-server

Bicep

Install .NET for your platform.

gh -R Azure/bicep release download -p bicep-langserver.zip -O ~/Downloads/bicep-langserver.zip
unzip -d ~/.cache/bicep-langserver ~/Downloads/bicep-langserver.zip
cat <<'EOF' > ~/.local/bin/bicep-langserver
#!/usr/bin/env bash
dotnet ~/.cache/bicep-langserver/Bicep.LangServer.dll
EOF
chmod +x ~/.local/bin/bicep-langserver

Docker

npm install -g dockerfile-language-server-nodejs   # Docker
npm install -g @microsoft/compose-language-service # Docker Compose

GraphQL

npm i -g graphql-language-service-cli

Go

go install golang.org/x/tools/gopls@latest                     # LSP
go install github.com/nametake/golangci-lint-langserver@latest # LSP
go install github.com/go-delve/delve/cmd/dlv@latest            # Debugger
go install golang.org/x/tools/cmd/goimports@latest             # Formatter

HTML

npm i -g vscode-langservers-extracted

JavaScript

See TypeScript.

JSON

npm i -g vscode-langservers-extracted

Markdown

Using Marksman:

Linux and macOS

brew install marksman

Windows

scoop install marksman

Python

npm install -g pyright

Rust

rustup component add clippy rust-analyzer

Swift

Included with Xcode, but also available from https://www.swift.org/install/. As of 6.0, swift format is available globally.

TOML

cargo install taplo-cli --locked --features lsp

TypeScript

npm install -g typescript typescript-language-server

TypeSpec

npm install -g @typespec/compiler
hx -g fetch
hx -g build

YAML

npm i -g yaml-language-server@next

About

Helix editor configuration

Topics

Resources

Stars

Watchers

Forks

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载