annotate runtime/ftplugin/htmldjango.vim @ 20401:918b9a05cf35 v8.2.0755

patch 8.2.0755: Vim9: No error when variable initializer is not a constant Commit: https://github.com/vim/vim/commit/227a69de1e0f9457a9fc9e098d999304faff55f8 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 15 18:17:28 2020 +0200 patch 8.2.0755: Vim9: No error when variable initializer is not a constant Problem: Vim9: No error when variable initializer is not a constant. Solution: Return FAIL when trying to get a variable value. Do not execute a script when an error is deteted in the first or second phase.
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 May 2020 18:30:04 +0200
parents 96cd8222a819
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1125
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
2 " Language: Django HTML template
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
3 " Maintainer: Dave Hodder <dmh@dmh.org.uk>
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
4 " Last Change: 2007 Jan 25
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
5
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
6 " Only use this filetype plugin when no other was loaded.
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
7 if exists("b:did_ftplugin")
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
8 finish
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
9 endif
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
10
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
11 " Use HTML and Django template ftplugins.
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
12 runtime! ftplugin/html.vim
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
13 runtime! ftplugin/django.vim