doomemacs/modules/lang/sh
Jeetaditya Chatterjee 7f814e5d99
refactor(:lang): redo tree-sitter hooks
- bind to major-mode-local-vars-hook instead of major mode hook
- bind the autodef tree-sitter! instead of the functions.
2022-05-22 21:26:08 +01:00
..
autoload.el lang/sh: use (wo)man for docs lookup handler 2021-02-23 20:32:34 -05:00
config.el refactor(:lang): redo tree-sitter hooks 2022-05-22 21:26:08 +01:00
doctor.el docs(tree-sitter): add doctor checks for flag 2022-05-22 21:26:00 +01: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