8000 This line only works in .vim files · Issue #118 · wincent/wincent · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This line only works in .vim files #118
Closed
@abzrg

Description

@abzrg

I'm not sure why this bit of code works in .vim files and not in anything else.

-- Highlight up to 255 columns (this is the current Vim max) beyond 'textwidth'

I took it from one of your videos. So what I have in my set up is:

vim.opt.colorcolumn = '79'
vim.opt_local.colorcolumn = '+' .. vim.fn.join(vim.fn.range(0,254), ',+')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0