diff options
Diffstat (limited to 'src/blog/nvim-ts/index.gsp')
-rw-r--r-- | src/blog/nvim-ts/index.gsp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/blog/nvim-ts/index.gsp b/src/blog/nvim-ts/index.gsp index 98bd9bb..204718e 100644 --- a/src/blog/nvim-ts/index.gsp +++ b/src/blog/nvim-ts/index.gsp @@ -120,9 +120,9 @@ html lang="en" { keybinding where pressing the key combination provided as the first argument will replace the Git-Rebase command of the current line with the string provided in the second argument. The actual function to - perform this replacement isn’t implemented yet, so in it’s current state + perform this replacement isn’t implemented yet, so in its current state it will bind these keys to an empty function. We also pass a few - options to @code{-vim.keymap.set}, you can read more about these in + options to @code{-vim.keymap.set}; you can read more about these in @code{-:help vim.keymap.set} if you’re interested. } @@ -167,11 +167,11 @@ html lang="en" { p {- In the code above we got the node at our cursor, now we need to traverse - the m4_abbr(AST) to the operation node. We can call the @em{-:parent()} - method on our node in a loop to traverse up the tree until we reach our - target node. If our cursor isn’t on a valid line such as on a comment - or a blank line we won’t ever hit an operation node and will instead get - @code{-nil}, so we need to handle that case too. + the m4_abbr(AST) to the operation node. We can call the + @code{-:parent()} method on our node in a loop to traverse up the tree + until we reach our target node. If our cursor isn’t on a valid line + such as on a comment or a blank line we won’t ever hit an operation node + and will instead get @code{-nil}, so we need to handle that case too. } figure { |