Commits

ZyX_I committed df375b8

Replaced all `!=#' with `isnot#'

Comments (0)

Files changed (8)

plugin/frawor.vim

     let foundrtp=""
     let lastpath=""
     let adddirs=[]
-    while lastpath!=#curpath
+    while lastpath isnot# curpath
         let lastpath=curpath
         if has_key(s:dircache, curpath)
             call extend(removedcomponents, s:dircache[curpath][0], 0)
         if s:pls[plid].runtimepath is# plrtp
             call s:_f.throw('doublereg', plid)
         endif
-        if plugtype[0]!=#'/'
+        if plugtype[0] isnot# '/'
             call s:_f.warn('plregistered', plid, plrtp)
         endif
         while has_key(s:pls, plid)
             "▶2 Loading dependencies
             for [dplid, d.Version] in items(plugdict.dependencies)
                 if has_key(s:loading, dplid)
-                    if dplid!=#plid
+                    if dplid isnot# plid
                         call s:_f.warn('recdep', dplid, plid)
                     endif
                     continue

plugin/frawor/autocommands.vim

         call s:_f.throw('agidnstr', a:plugdict.id)
     elseif a:agid!~#'^\w\+$'
         call s:_f.throw('invagid', a:plugdict.id, a:agid)
-    elseif has_key(s:augroups,a:agid) && s:augroups[a:agid].plid!=#a:plugdict.id
+    elseif has_key(s:augroups,a:agid) && s:augroups[a:agid].plid isnot# a:plugdict.id
         call s:_f.throw('agiddef', a:agid,a:plugdict.id,s:augroups[a:agid].plid)
     elseif type(a:events)!=type([])
         call s:_f.throw('agenlst', a:agid, a:plugdict.id)

plugin/frawor/decorators.vim

     "▶3 Check arguments
     if type(a:deid)!=type("")
         call s:_f.throw('deidnstr', a:plugdict.id)
-    elseif a:deid!~#'^\w\+$' && a:deid!=#'_'
+    elseif a:deid!~#'^\w\+$' && a:deid isnot# '_'
         call s:_f.throw('invdeid', a:plugdict.id, a:deid)
     elseif has_key(s:decorators, a:deid)
         call s:_f.throw('deiddef', a:deid, a:plugdict.id,

plugin/frawor/decorators/altervars.vim

         "▶2 Process options
         elseif varname[0] is# '&' && vnlen>3
             "▶3 Check option name
-            if varname[2]!=#':' || !(varname[1] is# 'g' || varname[1] is# 'l')
+            if varname[2] isnot# ':' || !(varname[1] is# 'g' || varname[1] is# 'l')
                 call s:_f.throw('noocpref', a:fname, plid, i, varname)
             elseif varname[3:]!~#'^\l\+$'
                 call s:_f.throw('invoname', a:fname, plid, i, varname[3:])
             "▶3 If argument is supplied
             if bidx!=-1
                 "▶4 Altering varname, element and *args variables
-                let noclose=(varname[-1:]!=#')')
+                let noclose=(varname[-1:] isnot# ')')
                 if !hasvar
                     call add(element, 0)
                 endif

plugin/frawor/functions.vim

                     \["endfunction"]
     endif
     execute join(s:F.beatycode(func), "\n")
-    if fname!=#"fundef.cons"
+    if fname isnot# "fundef.cons"
         let fundef.cons=function(fname)
     endif
     return fundef

plugin/frawor/fwc/compiler.vim

             let type=remove(iftree, 0)
             if type is# 'if' || type is# 'elseif'
                 let [condition, block]=remove(iftree, 0, 1)
-                if block!=#[['throw', s:cfstr]]
+                if block isnot# [['throw', s:cfstr]]
                     return 0
                 endif
                 call add(conditions, condition)

plugin/frawor/mappings.vim

     "▲3
     if has_key(s:mgroups, mgid)
         let mgroup=s:mgroups[mgid]
-        if mgroup.plid!=#a:plugdict.id
+        if mgroup.plid isnot# a:plugdict.id
             call s:_f.throw('mgiddef', mgid, a:plugdict.id, mgroup.plid)
         endif
     else

plugin/frawor/os.vim

     let r=[]
     let path=a:path
     let oldpath=''
-    while oldpath!=#path
+    while oldpath isnot# path
         call insert(r, s:os.path.basename(path))
         let oldpath=path
         let path=s:os.path.dirname(path)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.