add some stuff
This commit is contained in:
@@ -44,8 +44,8 @@ local on_attach = function(client, bufnr)
|
||||
-- end
|
||||
end
|
||||
|
||||
vim.cmd [[autocmd! ColorScheme * highlight NormalFloat guibg=#1f2335]]
|
||||
vim.cmd [[autocmd! ColorScheme * highlight FloatBorder guifg=white guibg=#1f2335]]
|
||||
-- vim.cmd [[autocmd! ColorScheme * highlight NormalFloat guibg=#1f2335]]
|
||||
-- vim.cmd [[autocmd! ColorScheme * highlight FloatBorder guifg=white guibg=#1f2335]]
|
||||
|
||||
-- squared corners
|
||||
|
||||
|
||||
1
plugin-confs/luasnip.lua
Normal file
1
plugin-confs/luasnip.lua
Normal file
@@ -0,0 +1 @@
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
@@ -7,6 +7,9 @@ local luasnip = require 'luasnip'
|
||||
local highlight = require('cmp.utils.highlight')
|
||||
|
||||
local highlight_symbol_under_cursor = function()
|
||||
-- if the client has not resolved the document highlight capability, then
|
||||
-- don't do anything
|
||||
if not vim.lsp.buf.document_highlight then return end
|
||||
vim.cmd [[
|
||||
hi! LspReferenceRead cterm=bold ctermbg=red guibg=LightYellow
|
||||
hi! LspReferenceText cterm=bold ctermbg=red guibg=LightYellow
|
||||
@@ -244,13 +247,13 @@ for _, lsp in ipairs(servers) do
|
||||
if lsp == 'lua_ls' then
|
||||
lspconfig[lsp].setup {
|
||||
-- on_attach = my_custom_on_attach,
|
||||
on_attach = highlight_symbol_under_cursor(),
|
||||
-- on_attach = highlight_symbol_under_cursor(),
|
||||
capabilities = capabilities,
|
||||
callSnippet = "Replace"
|
||||
}
|
||||
else
|
||||
lspconfig[lsp].setup {
|
||||
on_attach = highlight_symbol_under_cursor(),
|
||||
-- on_attach = highlight_symbol_under_cursor(),
|
||||
capabilities = capabilities
|
||||
}
|
||||
end
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
require("notify").setup({
|
||||
background_colour = "NotifyBackground",
|
||||
background_colour = "#000000",
|
||||
fps = 144,
|
||||
icons = {
|
||||
DEBUG = "",
|
||||
|
||||
15
plugin-confs/rainbow-delimiters.lua
Normal file
15
plugin-confs/rainbow-delimiters.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
-- This module contains a number of default definitions
|
||||
local rainbow_delimiters = require 'rainbow-delimiters'
|
||||
|
||||
vim.g.rainbow_delimiters = {
|
||||
strategy = {
|
||||
[''] = rainbow_delimiters.strategy['global'],
|
||||
vim = rainbow_delimiters.strategy['local']
|
||||
},
|
||||
query = { [''] = 'rainbow-delimiters', lua = 'rainbow-blocks' },
|
||||
highlight = {
|
||||
'RainbowDelimiterRed', 'RainbowDelimiterYellow', 'RainbowDelimiterBlue',
|
||||
'RainbowDelimiterOrange', 'RainbowDelimiterGreen',
|
||||
'RainbowDelimiterViolet', 'RainbowDelimiterCyan'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user