Compare commits
No commits in common. "3bff0ca1d2b45607d96513f60280f7e104a0d307" and "4205344bb6fae502afaee2f7a3a2a62ce5684ce2" have entirely different histories.
3bff0ca1d2
...
4205344bb6
2 changed files with 1 additions and 14 deletions
|
@ -29,8 +29,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
extraOptions.on_init.__raw = ''
|
extraOptions.on_init.__raw = ''
|
||||||
function(client)
|
function(client)
|
||||||
client.server_capabilities.documentFormattingProvider = false
|
|
||||||
client.server_capabilities.documentRangeFormattingProvider = false
|
|
||||||
client.handlers['tsserver/request'] = function(_, result, context)
|
client.handlers['tsserver/request'] = function(_, result, context)
|
||||||
local clients = vim.lsp.get_clients({ bufnr = context.bufnr, name = 'vtsls' })
|
local clients = vim.lsp.get_clients({ bufnr = context.bufnr, name = 'vtsls' })
|
||||||
if #clients == 0 then
|
if #clients == 0 then
|
||||||
|
@ -61,12 +59,6 @@
|
||||||
typescript-tools = {
|
typescript-tools = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
on_attach.__raw = ''
|
|
||||||
function(client)
|
|
||||||
client.server_capabilities.documentFormattingProvider = false
|
|
||||||
client.server_capabilities.documentRangeFormattingProvider = false
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
filetypes = [ "javascript" "typescript" "vue" ];
|
filetypes = [ "javascript" "typescript" "vue" ];
|
||||||
settings = {
|
settings = {
|
||||||
single_file_support = false;
|
single_file_support = false;
|
||||||
|
|
|
@ -1,15 +1,10 @@
|
||||||
{ pkgs, ... }: {
|
{ ... }: {
|
||||||
programs.nixvim.plugins.none-ls = {
|
programs.nixvim.plugins.none-ls = {
|
||||||
enable = true;
|
enable = true;
|
||||||
sources = {
|
sources = {
|
||||||
formatting = {
|
formatting = {
|
||||||
black.enable = true;
|
black.enable = true;
|
||||||
dart_format.enable = true;
|
dart_format.enable = true;
|
||||||
mdformat = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.mdformat.withPlugins
|
|
||||||
(packages: with packages; [ mdformat-tables ]);
|
|
||||||
};
|
|
||||||
nixfmt.enable = true;
|
nixfmt.enable = true;
|
||||||
xmllint.enable = true;
|
xmllint.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue