403Webshell
Server IP : 74.208.236.52  /  Your IP : 216.73.216.77
Web Server : Apache
System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64
User : u44043973 ( 5404757)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/thread-self/root/usr/share/vim/vim91/ftplugin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/share/vim/vim91/ftplugin/csv.vim
vim9script

# Maintainer: Maxim Kim <habamax@gmail.com>
# Last Update: 2024-06-18

if !exists("b:csv_delimiter")
    # detect delimiter
    var delimiters = ",;\t|"

    var max = 0
    for d in delimiters
        var count = getline(1)->split(d)->len() + getline(2)->split(d)->len()
        if count > max
            max = count
            b:csv_delimiter = d
        endif
    endfor
endif

if exists("b:did_ftplugin")
    finish
endif
b:did_ftplugin = 1

Youez - 2016 - github.com/yon3zu
LinuXploit