doomemacs/modules/lang/sh
Henrik Lissner a70e634ebd
refactor(:lang): move tree-sitter init
Moved add-hook calls (for tree-sitter initialization) into their
respective modes' config blocks, or nearby, to be consistent with how
other, similar tools (like lsp!) are initialized, and does so at
runtime, rather than at expansion/compile time, which eval-when! caused.
2022-07-25 17:34:44 +02:00
..
autoload.el lang/sh: use (wo)man for docs lookup handler 2021-02-23 20:32:34 -05:00
config.el refactor(:lang): move tree-sitter init 2022-07-25 17:34:44 +02:00
doctor.el docs(sh): add doctor check for shfmt 2022-07-23 16:32:16 +02:00
packages.el bump: :lang 2022-03-31 21:09:38 +02:00
README.org Added powershell flag to sh 2020-10-06 08:30:28 +01:00

lang/sh

Description

This module adds support for shell scripting languages.

  • Code completion (company-shell)
  • Syntax Checking (flycheck)

Module Flags

  • +lsp Enables LSP support for sh-mode. This requires the :tools lsp module to be enabled and bash-language-server to be installed on your system.
  • +fish Add syntax highlighting for fish script files.
  • +powershell Add syntax highlighting for Powershell script files .ps1 and .psm1

Plugins

Hacks

  • Interpolated variables are fontified.

Prerequisites

This module has several optional dependencies:

  • shellcheck: Enables advanced shell script linting.
  • bash-language-server: Enables LSP support (with +lsp flag).
  • With the :tools debugger module

    • bashdb: Enables debugging for bash scripts
    • zshdb: Enables debugging for zsh scripts

TODO Features

TODO Configuration

TODO Troubleshooting