Skip to content

Commit 2e3f184

Browse files
committed
chore: fix English in the doc GLSL section
1 parent c5cd04f commit 2e3f184

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

doc/love2d.txt

+11-11
Original file line numberDiff line numberDiff line change
@@ -123,25 +123,25 @@ shaders. Shaders are small programs which are run on the graphics card when
123123
drawing. See https://www.love2d.org/wiki/love.graphics.newShader section
124124
"Shader Language" for love2d specific aliases.
125125

126-
This plugin adds additional queries for |treesitter| to support inline GLSL in
127-
specific places. For example when calling `love.graphics.newShader()`.
126+
This plugin adds additional queries for Treesitter to support inline GLSL in
127+
specific places. For example, when calling `love.graphics.newShader()`.
128128

129-
For these queries to take effect you need to have `lua` and `glsl` parsers
130-
installed. Easiest way to do so is by using plugin `nvim-treesitter` from
131-
github https://github.com/nvim-treesitter/nvim-treesitter . After installing
129+
For these queries to take effect, you need to have `lua` and `glsl` parsers
130+
installed. The easiest way to do so is by using the plugin `nvim-treesitter` from
131+
GitHub https://github.com/nvim-treesitter/nvim-treesitter. After installing
132132
the plugin, you can run `:TSInstall lua glsl` to install parsers.
133133

134-
Doing so will enable neovim to "understand" that string inside
135-
`love.graphics.newShader()` is not just a string, but a `glsl` code. And you
134+
Doing so will enable Neovim to "understand" that the string inside
135+
`love.graphics.newShader()` is not just a string, but `glsl` code. And you
136136
will get:
137137

138138
1. Syntax highlighting for inline shaders.
139139
2. If you have `Comment.nvim`, it will now properly comment inside shaders.
140-
3. Plugin `nvim-treesitter-textobjects`, now will work inside shaders.
141-
4. And any other plugin/feature that depends on treesitter.
140+
3. The plugin `nvim-treesitter-textobjects` will now work inside shaders.
141+
4. And any other plugin/feature that depends on Treesitter.
142142

143-
If parsers are installed and plugin is loaded you should see the code below
144-
properly highlighted! (you may have to execute |:edit| to refresh current file)
143+
If parsers are installed and the plugin is loaded, you should see the code below
144+
properly highlighted! (You may have to execute |:edit| to refresh the current file)
145145

146146
>lua
147147
love.graphics.newShader([[

0 commit comments

Comments
 (0)