add more nvim configs and plugins
This commit is contained in:
parent
25019ba10b
commit
658c50336c
7 changed files with 23 additions and 56 deletions
|
@ -23,7 +23,6 @@ opt.autoread = true -- automatically reload modified files
|
|||
opt.wildmenu = true -- handle autocompletion menu
|
||||
|
||||
opt.wrap = false
|
||||
-- opt.list = true
|
||||
|
||||
opt.modelines = 5
|
||||
opt.matchtime = 1
|
||||
|
@ -40,6 +39,10 @@ opt.backspace = "indent,eol,start" -- allow backspace on indent, eol, or
|
|||
opt.cursorline = true
|
||||
opt.swapfile = false -- disable swap file
|
||||
|
||||
-- highlight trailing white space
|
||||
vim.fn.matchadd('errorMsg', [[\s\+$]])
|
||||
|
||||
|
||||
-- use system clipboard as default register
|
||||
opt.clipboard:append("unnamedplus")
|
||||
|
||||
|
|
|
@ -132,6 +132,8 @@ return {
|
|||
},
|
||||
})
|
||||
end,
|
||||
|
||||
lspconfig.gdscript.setup({})
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
@ -27,16 +27,16 @@ return {
|
|||
mason_lspconfig.setup({
|
||||
-- list of servers for mason to install
|
||||
ensure_installed = {
|
||||
"tsserver",
|
||||
"html",
|
||||
"cssls",
|
||||
"tailwindcss",
|
||||
"svelte",
|
||||
"lua_ls",
|
||||
"graphql",
|
||||
"emmet_ls",
|
||||
"graphql",
|
||||
"html",
|
||||
"lua_ls",
|
||||
"prismals",
|
||||
"pyright",
|
||||
"svelte",
|
||||
"tailwindcss",
|
||||
"tsserver",
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"lewis6991/gitsigns.nvim",
|
||||
},
|
||||
config = function ()
|
||||
local lualine = require("lualine")
|
||||
local lazy_status = require("lazy.status")
|
||||
local gitsigns = require("gitsigns")
|
||||
|
||||
|
||||
|
||||
lualine.setup({
|
||||
sections = {
|
||||
|
|
3
.config/nvim/lua/klowner/plugins/whitespace.lua
Normal file
3
.config/nvim/lua/klowner/plugins/whitespace.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'johnfrankmorgan/whitespace.nvim',
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue