Mercurial > vim
view runtime/ftplugin/go.vim @ 32210:012facc8e25c v9.0.1436
patch 9.0.1436: cannot compare a typed variable with v:none
Commit: https://github.com/vim/vim/commit/2ed57ac3675624b9d943d7753f48855e5dbebdbb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 1 22:05:38 2023 +0100
patch 9.0.1436: cannot compare a typed variable with v:none
Problem: Cannot compare a typed variable with v:none.
Solution: Allow for "x is v:none" and "x isnot v:none". (issue https://github.com/vim/vim/issues/12194)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Apr 2023 23:15:03 +0200 |
parents | 1e8ebf870720 |
children | 99d97826842a |
line wrap: on
line source
" Vim filetype plugin file " Language: Go " Maintainer: David Barnett (https://github.com/google/vim-ft-go) " Last Change: 2014 Aug 16 if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 setlocal formatoptions-=t setlocal comments=s1:/*,mb:*,ex:*/,:// setlocal commentstring=//\ %s let b:undo_ftplugin = 'setl fo< com< cms<' " vim: sw=2 sts=2 et