oak_sql/lsp/formatter/mod.rs
1#![doc = include_str!("readme.md")]
2use crate::language::SqlLanguage;
3
4pub struct SqlFormatter<'config> {
5 _config: &'config SqlLanguage,
6}
7
8impl<'config> SqlFormatter<'config> {
9 pub fn new(config: &'config SqlLanguage) -> Self {
10 Self { _config: config }
11 }
12
13 pub fn format(&self, _node: &oak_core::tree::RedNode<SqlLanguage>) -> String {
14 // TODO: Implement SQL formatting
15 String::new()
16 }
17}