You've already forked dotfiles
fix: Removing several bits that were superfluous or were causing issues.
Disabling nvim-lint and calls to cfn-lint for now. Found and removed the issue with completion causing odd failures on expansion.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
return {
|
||||
settings = {
|
||||
yaml = {
|
||||
schemaStore = {
|
||||
enable = true
|
||||
},
|
||||
-- schemaStore = {
|
||||
-- enable = true
|
||||
-- },
|
||||
format = {
|
||||
enable = true,
|
||||
singleQuote = true
|
||||
|
||||
@@ -35,6 +35,6 @@ return {
|
||||
})
|
||||
|
||||
vim.lsp.enable('gdscript')
|
||||
vim.lsp.enable('cfn-lint')
|
||||
-- vim.lsp.enable('cfn-lint')
|
||||
end
|
||||
}
|
||||
|
||||
@@ -2,6 +2,13 @@ return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
config = function()
|
||||
require('lualine').setup {
|
||||
-- options = {
|
||||
-- component_separators = { left = '\\', right = '/' },
|
||||
-- component_separators = { left = '⧹', right = '⧸' },
|
||||
-- section_separators = { left = '', right = '' },
|
||||
-- globalstatus = true,
|
||||
-- theme = 'gruvbox',
|
||||
-- },
|
||||
tabline = {
|
||||
lualine_a = {
|
||||
'tabs',
|
||||
|
||||
@@ -3,11 +3,6 @@ return {
|
||||
config = function()
|
||||
local cmp = require('cmp')
|
||||
cmp.setup {
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require('plugins.luasnip').lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
completion = {
|
||||
completeopt = 'menu,menuone,noinsert',
|
||||
},
|
||||
@@ -51,7 +46,6 @@ return {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'path' },
|
||||
-- { name = 'buffer' },
|
||||
}, {
|
||||
{ name = 'cmdline' },
|
||||
})
|
||||
|
||||
@@ -2,7 +2,7 @@ return {
|
||||
'mfussenegger/nvim-lint',
|
||||
config = function()
|
||||
require('lint').linters_by_ft = {
|
||||
yaml = {'cfn-lint'}
|
||||
-- yaml = {'cfn-lint'}
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
local ls = require('luasnip')
|
||||
local s = ls.snippet
|
||||
local i = ls.insert_node
|
||||
local t = ls.text_node
|
||||
local l = require('luasnip.extras').lambda
|
||||
local fmt = require('luasnip.extras.fmt').fmt
|
||||
local ts_post = require('luasnip.extras.treesitter_postfix').treesitter_postfix
|
||||
local ls = require('luasnip')
|
||||
local s = ls.snippet
|
||||
local i = ls.insert_node
|
||||
local t = ls.text_node
|
||||
local l = require('luasnip.extras').lambda
|
||||
local fmt = require('luasnip.extras.fmt').fmt
|
||||
local ts_post = require('luasnip.extras.treesitter_postfix').treesitter_postfix
|
||||
|
||||
return {
|
||||
ts_post({
|
||||
@@ -24,7 +24,7 @@ return {
|
||||
Keyword arguments:
|
||||
{} () -
|
||||
|
||||
Returns:
|
||||
Return:
|
||||
{} - {}
|
||||
'''
|
||||
]], {
|
||||
@@ -33,12 +33,12 @@ return {
|
||||
l(l.LS_TSCAPTURE_RETURN),
|
||||
l(l.LS_TSDATA),
|
||||
})),
|
||||
s(
|
||||
{ trig = "thingy" },
|
||||
{ t('Woot!') }
|
||||
),
|
||||
s(
|
||||
{ trig = 'thingy2' },
|
||||
{ t('Woot2!') }
|
||||
)
|
||||
-- s(
|
||||
-- { trig = "thingy" },
|
||||
-- { t('Woot!') }
|
||||
-- ),
|
||||
-- s(
|
||||
-- { trig = 'thingy2' },
|
||||
-- { t('Woot2!') }
|
||||
-- )
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user