Compare commits
No commits in common. "1fc83570be6fa8db9f22ee4f282119b91151371b" and "08b7169b54e64853d9adcad5c196ff597d2c8e12" have entirely different histories.
1fc83570be
...
08b7169b54
|
@ -1,8 +0,0 @@
|
||||||
-- Specific settings for JSON files
|
|
||||||
-- Use treesitter for folding
|
|
||||||
-- Disable the color column
|
|
||||||
|
|
||||||
vim.opt.foldmethod="expr"
|
|
||||||
vim.opt.foldexpr="nvim_treesitter#foldexpr()"
|
|
||||||
vim.opt.foldlevel=3
|
|
||||||
vim.opt.colorcolumn=""
|
|
7
init.lua
7
init.lua
|
@ -362,7 +362,7 @@ vim.keymap.set('n', '<leader>ss', require'telescope'.extensions.luasnip.luasnip
|
||||||
-- See `:help nvim-treesitter`
|
-- See `:help nvim-treesitter`
|
||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
-- Add languages to be installed here that you want installed for treesitter
|
-- Add languages to be installed here that you want installed for treesitter
|
||||||
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim', 'json' },
|
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' },
|
||||||
|
|
||||||
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||||
auto_install = false,
|
auto_install = false,
|
||||||
|
@ -516,11 +516,6 @@ local servers = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Require vscode-langservers-extracted
|
|
||||||
-- https://github.com/hrsh7th/vscode-langservers-extracted
|
|
||||||
jsonls = {
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Setup neovim lua configuration
|
-- Setup neovim lua configuration
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
-- My HTML snippets
|
|
||||||
|
|
||||||
-- Set the local variables (shortcuts)
|
|
||||||
local ls = require("luasnip")
|
|
||||||
local s = ls.snippet
|
|
||||||
local i = ls.insert_node
|
|
||||||
local fmt = require("luasnip.extras.fmt").fmt
|
|
||||||
|
|
||||||
return {
|
|
||||||
s(
|
|
||||||
{
|
|
||||||
trig = "mcim",
|
|
||||||
name = "Main article structure for MC portal",
|
|
||||||
dscr = "Insert an HTML structure to add bibliographic description on the clinical medicine portal"
|
|
||||||
},
|
|
||||||
fmt(
|
|
||||||
[[
|
|
||||||
<article class="mc-{1}-main">
|
|
||||||
<style>
|
|
||||||
.mc-{1}-item li:not([class])::before,
|
|
||||||
.mc-{1}-item li::before
|
|
||||||
content: none;
|
|
||||||
|
|
||||||
</style>
|
|
||||||
</article>
|
|
||||||
]],
|
|
||||||
{
|
|
||||||
i(1)
|
|
||||||
},
|
|
||||||
{ repeat_duplicates = true }
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
|
Loading…
Reference in New Issue