We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df264f3 commit 8972606Copy full SHA for 8972606
crates/pgt_treesitter/src/context/mod.rs
@@ -104,15 +104,6 @@ impl NodeUnderCursor<'_> {
104
NodeUnderCursor::CustomNode { kind, .. } => kind.as_str(),
105
}
106
107
-
108
- pub fn has_prev_sibling(&self) -> bool {
109
- match self {
110
- NodeUnderCursor::TsNode(node) => node.prev_sibling().is_some(),
111
- NodeUnderCursor::CustomNode {
112
- previous_node_kind, ..
113
- } => previous_node_kind.is_some(),
114
- }
115
116
117
118
impl<'a> From<tree_sitter::Node<'a>> for NodeUnderCursor<'a> {
0 commit comments