summaryrefslogtreecommitdiffstats
path: root/runtime/spell
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-13 14:38:12 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-13 14:38:12 +0200
commit6b6eedfc1c827be45dbcf64346d28dd96d425c06 (patch)
tree6fcc74ead26c5af9006c355a246726c549455f05 /runtime/spell
parent580061a821eb2e08439233cbeabada67c480493b (diff)
Runtime file updates.
Diffstat (limited to 'runtime/spell')
-rw-r--r--runtime/spell/pt/main.aap3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/spell/pt/main.aap b/runtime/spell/pt/main.aap
index 2770f9315e..e54f9d5caf 100644
--- a/runtime/spell/pt/main.aap
+++ b/runtime/spell/pt/main.aap
@@ -59,7 +59,8 @@ pt_PT.aff pt_PT.dic: {buildcheck=}
:delete {f} description.xml
:delete {f} dictionaries.xcu
:delete {f} LICENSES.txt
- :sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c update -c q
+ # Remove grammer items and the duplicates this causes
+ :sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c "2,$$ sort u" -c update -c q
:sys $VIM pt_PT.aff -u NONE -e -c "%s/\S\+=\S\+$$//" -c update -c q
@if not os.path.exists('pt_PT.orig.aff'):
:copy pt_PT.aff pt_PT.orig.aff