Skip to content

bug: cmake_format is now not working #801

@kingofknights

Description

@kingofknights

Neovim version (nvim -v)

NVIM v0.11.4

Operating system/version

Linux

Read debugging tips

Add the debug logs

  • I have set log_level = vim.log.levels.DEBUG and pasted the log contents below.
Log file: /home/[email protected]/.local/state/nvim/conform.log
          2025-11-03 17:01:13[DEBUG] Run CWD: /home/[email protected]/.config/nvim
          2025-11-03 17:01:13[DEBUG] stylua exited with code 0
          2025-11-03 17:01:17[DEBUG] Running formatters on /home/[email protected]/.config/nvim/lua/config/lazy.lua: { "stylua" }
          2025-11-03 17:01:17[INFO] Run stylua on /home/[email protected]/.config/nvim/lua/config/lazy.lua
          2025-11-03 17:01:17[DEBUG] Run command: { "/home/[email protected]/.local/share/nvim/mason/bin/stylua", "--search-parent-directories", "--respect-ignores", "--stdin-filepath", "/home/[email protected]/.config/nvim/lua/config/lazy.lua", "-" }
          2025-11-03 17:01:17[DEBUG] Run CWD: /home/[email protected]/.config/nvim
          2025-11-03 17:01:17[DEBUG] stylua exited with code 0

Formatters for this buffer:
LSP: neocmake

Other formatters:
fish_indent unavailable: Command 'fish_indent' not found
shfmt ready (sh) /home/[email protected]/.local/share/nvim/mason/bin/shfmt
stylua ready (lua) /home/[email protected]/.local/share/nvim/mason/bin/stylua

Log file

I am using default setting of LazyVim. Till LazyVim 13.X it was working fine. Now it is not working

Describe the bug

Debug log is blank

What is the severity of this bug?

breaking (some functionality is broken)

Steps To Reproduce

Use LazyVim 15.X

Expected Behavior

it should format cmake files

Minimal example file

No response

Minimal init.lua

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  {
    "stevearc/conform.nvim",
    config = function()
      require("conform").setup({
        log_level = vim.log.levels.DEBUG,
        -- add your config here
      })
    end,
  },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions