Skip to content

Diagnostics

Diagnostics are powered by tree-sitter-teradata and surface syntax (grammar) errors as ERROR diagnostics in Neovim.

  • Only SQL grammar errors are detected (no semantic checks).
  • Works in filetypes configured in vim-teradata via the ft option.
require('vim-teradata').setup({
  ft = { 'sql' },
})

If you don't install the Teradata parser, diagnostics and smart completion will be limited.

Demo

Terminal
 

Examples

Diagnostic example