add lint.lua and more
This commit is contained in:
parent
d97cbf8bec
commit
ebda2c1caf
4 changed files with 24 additions and 1 deletions
10
.config/nvim/lua/klowner/plugins/lint.lua
Normal file
10
.config/nvim/lua/klowner/plugins/lint.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
"mfussenegger/nvim-lint",
|
||||
config = function ()
|
||||
local lint = require('lint')
|
||||
lint.linters_by_ft = {
|
||||
python = {'black'},
|
||||
markdown = {'vale'},
|
||||
}
|
||||
end
|
||||
}
|
|
@ -27,7 +27,7 @@ return {
|
|||
})
|
||||
|
||||
mason_lspconfig.setup({
|
||||
-- list of servers for mason to install
|
||||
automatic_installation = true,
|
||||
ensure_installed = {
|
||||
"cssls",
|
||||
"emmet_ls",
|
||||
|
@ -44,6 +44,7 @@ return {
|
|||
})
|
||||
|
||||
mason_tool_installer.setup({
|
||||
auto_update = true,
|
||||
ensure_installed = {
|
||||
"prettier", -- prettier formatter
|
||||
"stylua", -- lua formatter
|
||||
|
|
9
.config/nvim/lua/klowner/plugins/style-catppuccin.lua
Normal file
9
.config/nvim/lua/klowner/plugins/style-catppuccin.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
'catppuccin/nvim',
|
||||
cond = function ()
|
||||
return false
|
||||
end,
|
||||
config = function ()
|
||||
vim.cmd('colorscheme catppuccin')
|
||||
end,
|
||||
}
|
|
@ -24,6 +24,9 @@ return {
|
|||
autotag = {
|
||||
enable = true,
|
||||
},
|
||||
modules = {},
|
||||
sync_install = false,
|
||||
ignore_install = {},
|
||||
-- ensure these language parsers are installed
|
||||
ensure_installed = {
|
||||
"json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue