Use opt instead of b
This commit is contained in:
parent
092b78cce6
commit
11f27e4869
12 changed files with 56 additions and 56 deletions
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 4
|
||||
vim.b.softtabstop = 4
|
||||
vim.b.shiftwidth = 4
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 4
|
||||
vim.b.softtabstop = 4
|
||||
vim.b.shiftwidth = 4
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 4
|
||||
vim.b.softtabstop = 4
|
||||
vim.b.shiftwidth = 4
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 4
|
||||
vim.b.softtabstop = 4
|
||||
vim.b.shiftwidth = 4
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ local servers = { 'ansiblels', 'yamlls', 'cssls', 'jsonls', 'tsserver', }
|
|||
|
||||
--add additional capabilities supported by nvim-cmp
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)
|
||||
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
|
||||
|
||||
local nvim_lsp = require('lspconfig')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue