Skip to main content

Fish

Adds Fish language support to doom nvim.

Settings

Settings for the fish module.

You can access and override these values in your config.lua. I.e.

local fish_settings = doom.langs.fish.settings
fish_settings.<field> = <new_value>
fish.settings = {
--- Disables auto installing the treesitter
--- @type boolean
disable_treesitter = false,
--- Treesitter grammars to install
--- @type string|string[]
treesitter_grammars = "fish",

--- Disables null-ls formatting sources
--- @type boolean
disable_formatting = false,
--- WARN: No package yet. Mason.nvim package to auto install the formatter from
--- @type nil
formatting_package = nil,
--- String to access the null_ls diagnositcs provider
--- @type string
formatting_provider = "builtins.formatting.fish_indent",
--- Function to configure null-ls formatter
--- @type function|nil
formatting_config = nil,

--- Disables null-ls diagnostic sources
--- @type boolean
disable_diagnostics = false,
--- Mason.nvim package to auto install the diagnostics provider from
--- @type nil
diagnostics_package = nil,
--- String to access the null_ls diagnositcs provider
--- @type string
diagnostics_provider = "builtins.diagnostics.fish",
--- Function to configure null-ls diagnostics
--- @type function|nil
diagnostics_config = nil,
}

Autocommands

Autocommands for the doom.langs.fish module.

Note: Plugins may create additional autocommands, these will be avaliable once the plugin loads. Please check the docs for these plugins.

patternPattern
FileType