From a6a273434751335e6ae4690bab7e27b283bb6af2 Mon Sep 17 00:00:00 2001 From: polluks Date: Mon, 16 Oct 2023 13:53:14 +0200 Subject: [PATCH] Fixed typos --- doc/orgguide.txt | 2 +- ftplugin/org.vim | 2 +- syntax/org.vim | 2 +- tests/test_plugin_navigator.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/orgguide.txt b/doc/orgguide.txt index 2ea9cca..14f58d2 100644 --- a/doc/orgguide.txt +++ b/doc/orgguide.txt @@ -1272,7 +1272,7 @@ syntax highlighting and indentation~ < Syntax Highlighting Examples~ - Define an additionaly keyword 'WAITING' and set the foreground color to + Define an additionally keyword 'WAITING' and set the foreground color to 'cyan'. Define another keyword 'CANCELED' and set the foreground color to red, background to black and the weight to normal, slant to italc and decoration to underline: diff --git a/ftplugin/org.vim b/ftplugin/org.vim index edb3b6e..40bbcdf 100644 --- a/ftplugin/org.vim +++ b/ftplugin/org.vim @@ -66,7 +66,7 @@ if ! exists('g:org_syntax_highlight_leading_stars') && ! exists('b:org_syntax_hi let g:org_syntax_highlight_leading_stars = 1 endif -" setting to conceal aggresively +" setting to conceal aggressively if ! exists('g:org_aggressive_conceal') && ! exists('b:org_aggressive_conceal') let g:org_aggressive_conceal = 0 endif diff --git a/syntax/org.vim b/syntax/org.vim index f295f8f..9311c9c 100644 --- a/syntax/org.vim +++ b/syntax/org.vim @@ -2,7 +2,7 @@ " (we're adding two markdown-like variants for =code= and blockquotes) " ----------------------------------------------------------------------------- " -" Do we use aggresive conceal? +" Do we use aggressive conceal? if exists("b:org_aggressive_conceal") let s:conceal_aggressively=b:org_aggressive_conceal elseif exists("g:org_aggressive_conceal") diff --git a/tests/test_plugin_navigator.py b/tests/test_plugin_navigator.py index 2eaceae..d93c4af 100644 --- a/tests/test_plugin_navigator.py +++ b/tests/test_plugin_navigator.py @@ -103,7 +103,7 @@ def test_forward_movement(self): self.navigator.next(mode=u'normal') self.assertEqual(vim.current.window.cursor, (18, 2)) - ## don't move cursor if last heading is already focussed + ## don't move cursor if last heading is already focused vim.current.window.cursor = (19, 6) self.navigator.next(mode=u'normal') self.assertEqual(vim.current.window.cursor, (19, 6))